Skip to content

Commit

Permalink
Update docker-compose.yml to work with Caddy
Browse files Browse the repository at this point in the history
  • Loading branch information
lavajuno authored Mar 1, 2024
1 parent 45b90a2 commit a0bbf12
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
version: '3.1'

services:
web:
build: .
restart: always
restart: unless-stopped
container_name: talks
volumes:
- ./talks.db:/root/talks.db
- ./config.toml:/root/config.toml:ro
ports:
- 8000:80
expose:
- 80
networks:
- web

networks:
web:
external: true

0 comments on commit a0bbf12

Please sign in to comment.