-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.prod.yml
31 lines (27 loc) · 1.13 KB
/
docker-compose.prod.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
31
version: '3.8'
services:
device:
build:
target: prod-stage
1wire:
labels:
- traefik.http.routers.fd_1wire.rule=Host(`${TRAEFIK_DOMAIN}`) && PathPrefix(`/`)
- traefik.http.routers.fd_1wire.entrypoints=websecure
- traefik.http.routers.fd_1wire.tls.certresolver=letsencrypt
traefik:
ports:
- $TRAEFIK_ACCESS_PORT:80
- $TRAEFIK_ACCESS_PORT_SECURE:443
volumes:
- ./traefik/traefik.prod.yml:/etc/traefik/traefik.yml
labels:
- traefik.enable=true
- traefik.http.routers.fd_traefik.rule=Host(`traefik.${TRAEFIK_DOMAIN}`)
- traefik.http.routers.fd_traefik.entrypoints=websecure
- traefik.http.routers.fd_traefik.tls.certresolver=letsencrypt
- traefik.http.routers.fd_traefik.service=api@internal
pgadmin:
labels:
- traefik.http.routers.fd_pgadmin.rule=Host(`${TRAEFIK_DOMAIN}`) && PathPrefix(`/pgadmin`)
- traefik.http.routers.fd_pgadmin.entrypoints=websecure
- traefik.http.routers.fd_pgadmin.tls.certresolver=letsencrypt