-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathdocker-compose.yml
46 lines (43 loc) · 1.31 KB
/
docker-compose.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
version: '3.9'
services:
traefik:
container_name: traefik
hostname: traefik
image: traefik:latest
ports:
- 8001:80
- 44301:443
- 8181:8080
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./traefik/:/etc/traefik/
networks:
- supabase # rename this to your custom docker network
# labels: # Only for Traefik, unless you use the fileConfig.yml file.
# traefik.http.routers.api.rule: Host(`traefik.domain.com`) # Define the subdomain for the traefik dashboard.
# traefik.http.routers.api.entryPoints: https # Set the Traefik entry point.
# traefik.http.routers.api.service: api@internal # Enable Traefik API.
# traefik.enable: true # Enable Traefik reverse proxy for the Traefik dashboard.
environment:
CF_DNS_API_TOKEN: ${CF_DNS_API_TOKEN}
CLOUDFLARE_EMAIL: ${$CLOUDFLARE_EMAIL}
DOMAIN: ${DOMAIN}
restart: unless-stopped
depends_on:
- dockersocket
dockersocket:
container_name: dockersocket
image: tecnativa/docker-socket-proxy
volumes:
- /var/run/docker.sock:/var/run/docker.sock
networks:
- supabase
environment:
CONTAINERS: 1
POST: 0
privileged: true
restart: unless-stopped
networks:
supabase:
driver: bridge
external: true