frontpage/docker-compose.stable.yml

31 lines
1016 B
YAML
Raw Normal View History

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
- /srv/website/content:/app/public/content:ro
2022-06-12 16:03:21 +02:00
- git_mask:/app/public/content/.git
2021-12-14 23:00:41 +01:00
networks:
- traefik
labels:
- "traefik.enable=true"
- "traefik.docker.network=traefik"
2022-12-29 18:15:18 +01:00
- "traefik.http.routers.website-stable.entrypoints=websecure"
2022-12-29 18:28:47 +01:00
- "traefik.http.routers.website-stable.rule=Host(`c0ntroller.de`) || Host(`www.c0ntroller.de`)"
2022-12-29 18:15:18 +01:00
- "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"
2021-12-14 23:00:41 +01:00
- "traefik.http.services.website-stable.loadbalancer.server.port=3000"
2022-10-03 01:20:17 +02:00
environment:
2022-10-07 23:03:39 +02:00
- IS_DEV_ENV=true
2021-12-14 23:00:41 +01:00
networks:
traefik:
2022-02-04 23:41:18 +01:00
external: true
volumes:
2022-12-08 19:42:55 +01:00
git_mask: