-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.traefik-services.yml
More file actions
28 lines (28 loc) · 1.03 KB
/
Copy pathdocker-compose.traefik-services.yml
File metadata and controls
28 lines (28 loc) · 1.03 KB
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
version: "3.6"
services:
blockscout:
networks:
- icing
- web
labels:
- "traefik.enable=true"
- "traefik.http.middlewares.icing-auth.basicauth.users=${BASIC_AUTH_SECRET}"
- "traefik.http.routers.icing-explorer.rule=Host(`explorer.${HOST}`)"
- "traefik.http.routers.icing-explorer.entrypoints=websecure"
- "traefik.http.routers.icing-explorer.tls.certresolver=tlsresolver"
- "traefik.http.services.icing-explorer.loadbalancer.server.port=4000"
- "traefik.http.routers.icing-explorer.middlewares=icing-auth@docker"
postgres:
networks:
- icing
ganache-cli:
networks:
- icing
- web
labels:
- "traefik.enable=true"
- "traefik.http.routers.icing-rpc.rule=Host(`rpc.${HOST}`)"
- "traefik.http.routers.icing-rpc.entrypoints=websecure"
- "traefik.http.routers.icing-rpc.tls.certresolver=tlsresolver"
- "traefik.http.services.icing-rpc.loadbalancer.server.port=8545"
- "traefik.http.routers.icing-rpc.middlewares=icing-auth@docker"