2021-12-14 23:00:41 +01:00
|
|
|
version: '3'
|
|
|
|
|
|
|
|
services:
|
|
|
|
server:
|
2022-01-05 16:55:19 +01:00
|
|
|
image: localhost:5000/c0ntroller.de:latest
|
2021-12-14 23:00:41 +01:00
|
|
|
restart: always
|
2022-02-04 23:41:18 +01:00
|
|
|
volumes:
|
|
|
|
# Relative paths are located in the tmp folder where the project is cloned
|
2022-06-12 15:00:55 +02:00
|
|
|
- /srv/website/content:/app/public/content:ro
|
2022-02-04 23:41:18 +01:00
|
|
|
- git_mask:/app/public/projects/.git
|
2021-12-14 23:00:41 +01:00
|
|
|
networks:
|
|
|
|
- traefik
|
|
|
|
labels:
|
|
|
|
- "traefik.enable=true"
|
|
|
|
- "traefik.docker.network=traefik"
|
|
|
|
- "traefik.http.routers.website-stable.entrypoints=web"
|
|
|
|
- "traefik.http.routers.website-stable.rule=Host(`c0ntroller.de`)"
|
|
|
|
- "traefik.http.routers.website-stable.middlewares=http-to-https@file"
|
|
|
|
- "traefik.http.routers.website-stable-secure.entrypoints=websecure"
|
|
|
|
- "traefik.http.routers.website-stable-secure.rule=Host(`c0ntroller.de`)"
|
|
|
|
- "traefik.http.routers.website-stable-secure.middlewares=secHeaders@file"
|
|
|
|
- "traefik.http.routers.website-stable-secure.tls=true"
|
|
|
|
- "traefik.http.routers.website-stable-secure.tls.certresolver=le"
|
|
|
|
- "traefik.http.routers.website-stable-secure.service=website-stable"
|
|
|
|
- "traefik.http.services.website-stable.loadbalancer.server.port=3000"
|
|
|
|
|
|
|
|
networks:
|
|
|
|
traefik:
|
2022-02-04 23:41:18 +01:00
|
|
|
external: true
|
|
|
|
volumes:
|
|
|
|
git_mask:
|