mirror of
https://github.com/opf/openproject.git
synced 2026-06-14 03:30:14 +00:00
827f577c85
Instead of assuming that the TLD is .local, we allow to overwrite it with different TLDs, so that the local setup can be adapted to developer needs.
52 lines
1.5 KiB
YAML
52 lines
1.5 KiB
YAML
services:
|
|
traefik:
|
|
image: traefik:latest
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
volumes:
|
|
- ./traefik.yaml:/etc/traefik/traefik.yaml:ro
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
- ./acme.json:/acme.json
|
|
- step:/step:ro
|
|
restart: unless-stopped
|
|
networks:
|
|
external:
|
|
aliases:
|
|
- traefik.${OPENPROJECT_DOCKER_DEV_TLD}
|
|
- openproject.${OPENPROJECT_DOCKER_DEV_TLD}
|
|
- openproject-assets.${OPENPROJECT_DOCKER_DEV_TLD}
|
|
- nextcloud.${OPENPROJECT_DOCKER_DEV_TLD}
|
|
- gitlab.${OPENPROJECT_DOCKER_DEV_TLD}
|
|
- keycloak.${OPENPROJECT_DOCKER_DEV_TLD}
|
|
- hocuspocus.${OPENPROJECT_DOCKER_DEV_TLD}
|
|
- minio.${OPENPROJECT_DOCKER_DEV_TLD}
|
|
- minioadmin.${OPENPROJECT_DOCKER_DEV_TLD}
|
|
labels:
|
|
- "traefik.http.routers.traefik.rule=Host(`traefik.${OPENPROJECT_DOCKER_DEV_TLD}`)"
|
|
- "traefik.http.routers.traefik.service=api@internal"
|
|
- "traefik.http.routers.traefik.entrypoints=websecure"
|
|
|
|
step:
|
|
image: smallstep/step-ca:latest
|
|
restart: unless-stopped
|
|
environment:
|
|
- TZ=UTC
|
|
- DOCKER_STEPCA_INIT_NAME=OpenProject Development
|
|
- DOCKER_STEPCA_INIT_DNS_NAMES=step,localhost
|
|
- DOCKER_STEPCA_INIT_PROVISIONER_NAME=openproject
|
|
- DOCKER_STEPCA_INIT_PASSWORD=openproject
|
|
- DOCKER_STEPCA_INIT_ACME=true
|
|
volumes:
|
|
- step:/home/step
|
|
networks:
|
|
- external
|
|
|
|
volumes:
|
|
step:
|
|
|
|
networks:
|
|
external:
|
|
name: gateway
|
|
external: true
|