1
0
Fork 0
myserver-configuration/roles/portfolio/templates/docker-compose.yml

26 lines
No EOL
939 B
YAML

services:
portfolio:
image: gitea.mrdev023.fr/florian.richer/portfolio:latest
container_name: portfolio
restart: unless-stopped
networks:
- proxy
labels:
- traefik.enable=true
- traefik.docker.network=proxy
# HTTP Reverse proxy portfolio
- traefik.http.routers.portfolio-secure.entrypoints=https
- traefik.http.routers.portfolio-secure.rule=Host(`{{ server.domain }}`)
- traefik.http.routers.portfolio-secure.tls=true
- traefik.http.routers.portfolio-secure.tls.certresolver=sslResolver
- traefik.http.routers.portfolio-secure.service=portfolio
- traefik.http.services.portfolio.loadbalancer.server.port=8080
logging:
driver: loki
options:
loki-url: "https://lokidoki:vEGH5Z5siWgcDkNknvCVzPCyqhHSBJCBjeBRZJvxUP8SdgfxJ6AqCGutCWugGsx5@loki.mrdev023.fr/loki/api/v1/push"
mode: non-blocking
networks:
proxy:
external: true