Example docker-compose

This commit is contained in:
spikecodes 2021-03-31 13:03:18 -07:00
parent 44dee302c9
commit 90d39b121f
No known key found for this signature in database
GPG Key ID: 004CECFF9B463BCB

13
docker-compose.yml Normal file
View File

@ -0,0 +1,13 @@
version: "3.8"
services:
web:
build: .
restart: always
container_name: "libreddit"
ports:
- 8080:8080
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/settings"]
interval: 5m
timeout: 3s