Last active 11 months ago

Docker Compose Traefik Example

supanadit revised this gist 11 months ago. Go to revision

No changes

supanadit revised this gist 11 months ago. Go to revision

No changes

supanadit revised this gist 11 months ago. Go to revision

No changes

supanadit revised this gist 11 months ago. Go to revision

No changes

supanadit revised this gist 11 months ago. Go to revision

No changes

supanadit revised this gist 11 months ago. Go to revision

No changes

supanadit revised this gist 11 months ago. Go to revision

No changes

supanadit revised this gist 11 months ago. Go to revision

1 file changed, 23 insertions

compose.yaml(file created)

@@ -0,0 +1,23 @@
1 + networks:
2 + default:
3 + name: pratama-network
4 + external: true
5 +
6 + services:
7 + traefik:
8 + container_name: traefik
9 + image: traefik:v3.1.4
10 + restart: always
11 + volumes:
12 + - ./conf/traefik.toml:/etc/traefik/traefik.toml:rw
13 + - ./conf/dynamic-conf.toml:/etc/traefik/dynamic-conf.toml:rw
14 + - /var/run/docker.sock:/var/run/docker.sock
15 + - ./acme.json:/acme.json
16 + ports:
17 + - 80:80
18 + - 443:443
19 + environment:
20 + TRAEFIK_ACCESSLOG: "false"
21 + TZ: "Asia/Jakarta"
22 + TRAEFIK_LOG: "true"
23 + TRAEFIK_LOG_LEVEL: DEBUG
Newer Older