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:dev
|
2021-12-14 23:00:41 +01:00
|
|
|
restart: always
|
2022-01-14 15:26:13 +01:00
|
|
|
volumes:
|
2022-01-14 15:39:08 +01:00
|
|
|
# Relative paths are located in the tmp folder where the projet is clones
|
|
|
|
- /srv/website/projects:/app/public/projects:ro
|
2022-01-14 16:32:23 +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-dev.entrypoints=web"
|
|
|
|
- "traefik.http.routers.website-dev.rule=Host(`dev.c0ntroller.de`)"
|
|
|
|
- "traefik.http.routers.website-dev.middlewares=http-to-https@file"
|
|
|
|
- "traefik.http.routers.website-dev-secure.entrypoints=websecure"
|
|
|
|
- "traefik.http.routers.website-dev-secure.rule=Host(`dev.c0ntroller.de`)"
|
|
|
|
- "traefik.http.routers.website-dev-secure.middlewares=secHeaders@file"
|
|
|
|
- "traefik.http.routers.website-dev-secure.tls=true"
|
|
|
|
- "traefik.http.routers.website-dev-secure.tls.certresolver=le"
|
|
|
|
- "traefik.http.routers.website-dev-secure.service=website-dev"
|
|
|
|
- "traefik.http.services.website-dev.loadbalancer.server.port=3000"
|
|
|
|
|
|
|
|
networks:
|
|
|
|
traefik:
|
2022-01-14 16:32:23 +01:00
|
|
|
external: true
|
|
|
|
volumes:
|
|
|
|
git_mask:
|