-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.stable.yml
30 lines (28 loc) · 1016 Bytes
/
docker-compose.stable.yml
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
28
29
30
version: '3'
services:
server:
image: localhost:5000/c0ntroller.de:latest
restart: always
volumes:
# Relative paths are located in the tmp folder where the project is cloned
- /srv/website/content:/app/public/content:ro
- git_mask:/app/public/content/.git
networks:
- traefik
labels:
- "traefik.enable=true"
- "traefik.docker.network=traefik"
- "traefik.http.routers.website-stable.entrypoints=websecure"
- "traefik.http.routers.website-stable.rule=Host(`c0ntroller.de`) || Host(`www.c0ntroller.de`)"
- "traefik.http.routers.website-stable.middlewares=secHeaders@file"
- "traefik.http.routers.website-stable.tls=true"
- "traefik.http.routers.website-stable.tls.certresolver=le"
- "traefik.http.routers.website-stable.service=website-stable"
- "traefik.http.services.website-stable.loadbalancer.server.port=3000"
environment:
- IS_DEV_ENV=true
networks:
traefik:
external: true
volumes:
git_mask: