2021-03-31 20:03:18 +00:00
|
|
|
version: "3.8"
|
|
|
|
|
|
|
|
services:
|
|
|
|
web:
|
|
|
|
build: .
|
|
|
|
restart: always
|
|
|
|
container_name: "libreddit"
|
|
|
|
ports:
|
|
|
|
- 8080:8080
|
|
|
|
healthcheck:
|
2021-11-11 00:47:13 +00:00
|
|
|
test: ["CMD", "wget", "--spider", "-q", "--tries=1", "http://localhost:8080/settings"]
|
2021-03-31 20:03:18 +00:00
|
|
|
interval: 5m
|
2021-11-11 00:47:13 +00:00
|
|
|
timeout: 3s
|