-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
27 lines (26 loc) · 1.05 KB
/
docker-compose.yml
File metadata and controls
27 lines (26 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
services:
cicd_frontend:
container_name: cicd-frontend
image: php:apache
environment:
- TZ=Europe/Brussels
volumes:
- ./frontend/htdocs:/var/www/html:ro
- ./frontend/apache2.conf:/etc/apache2/apache2.conf:ro
restart: unless-stopped
stop_grace_period: 5s
networks:
- traefik_proxy_backend
labels:
- "com.centurylinklabs.watchtower.enable=true"
- "traefik.enable=true"
- "traefik.http.routers.cicd_frontend.entrypoints=web,websecure"
- "traefik.http.services.cicd_frontend.loadbalancer.server.port=80"
- "traefik.http.routers.cicd_frontend.rule=Host(`cicd.nibblepoker.lu`) || Host(`cicd.nibblepoker.com`)"
- "traefik.http.routers.cicd_frontend.tls=true"
- "traefik.http.routers.cicd_frontend.tls.certresolver=production"
- "traefik.http.routers.cicd_frontend.middlewares=authorized-ip-whitelist@file"
command: ["/bin/sh", "-c", "a2enmod headers && a2enmod rewrite && a2enmod ratelimit && apache2-foreground"]
networks:
traefik_proxy_backend:
external: true