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.
26 lines
914 B
YAML
26 lines
914 B
YAML
services:
|
|
hocuspocus:
|
|
# In case of MacOS you need to specify the platform in your `docker/dev/hocuspocus/docker-compose.override.yml`:
|
|
# platform: linux/amd64
|
|
image: openproject/hocuspocus:latest
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.routers.hocuspocus.rule=Host(`hocuspocus.${OPENPROJECT_DOCKER_DEV_TLD}`)"
|
|
- "traefik.http.routers.hocuspocus.service=hocuspocus-service"
|
|
- "traefik.http.routers.hocuspocus.tls=true"
|
|
- "traefik.http.services.hocuspocus-service.loadbalancer.server.port=1234"
|
|
- "traefik.http.routers.hocuspocus.tls.certresolver=step"
|
|
restart: unless-stopped
|
|
networks:
|
|
- gateway
|
|
environment:
|
|
- ALLOWED_DOMAINS=openproject.${OPENPROJECT_DOCKER_DEV_TLD},localhost
|
|
- NODE_TLS_REJECT_UNAUTHORIZED=0
|
|
- SECRET=secret12345
|
|
networks:
|
|
gateway:
|
|
external: true
|
|
name: gateway
|
|
volumes:
|
|
node_modules:
|