Skip to content

Commit a0bbf12

Browse files
authored
Update docker-compose.yml to work with Caddy
1 parent 45b90a2 commit a0bbf12

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

docker-compose.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
1-
version: '3.1'
2-
31
services:
42
web:
53
build: .
6-
restart: always
4+
restart: unless-stopped
75
container_name: talks
86
volumes:
97
- ./talks.db:/root/talks.db
108
- ./config.toml:/root/config.toml:ro
11-
ports:
12-
- 8000:80
9+
expose:
10+
- 80
11+
networks:
12+
- web
13+
14+
networks:
15+
web:
16+
external: true

0 commit comments

Comments
 (0)