Docker Compose for ECIS
Find below an example configuration of Docker compose using Traefik (no letsencrypt)
services:
reverse-proxy:
# The official v2 Traefik docker image
image: traefik:latest
# Enables the web UI and tells Traefik to listen to docker
command:
- --log.level=DEBUG
- --providers.docker
- --providers.docker.network=web
- --entrypoints.http.address=:80
restart: always
networks:
web: { }
ports:
- "80:80"
volumes:
# So that Traefik can listen to the Docker events
- /var/run/docker.sock:/var/run/docker.sock
ecis:
image: ghcr.io/jield-webdev/ecis/app:latest
labels:
- traefik.enable=true
- traefik.http.services.ecis.loadbalancer.server.port=80
- traefik.http.routers.ecis.service=ecis
- traefik.http.routers.ecis.rule=Host(`83.96.201.212`)
- traefik.http.routers.ecis.entrypoints=http
restart: always
environment:
ecis_ENVIRONMENT: production
ecis_HOST: black-semiconductor
volumes:
- ./conf/production.local.php:/var/www/config/autoload/production.local.php
networks:
- web
- internal
volumes:
certs:
networks:
web:
external: true
internal:
external: false
Last modified: 11 April 2025