docker-compose.yml cleanup
This commit is contained in:
@@ -3,7 +3,6 @@ services:
|
|||||||
build: .
|
build: .
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/db:/opt/app/data/db
|
- ./data/db:/opt/app/data/db
|
||||||
- ./data/app/log:/var/log
|
|
||||||
env_file:
|
env_file:
|
||||||
- path: ./.env
|
- path: ./.env
|
||||||
required: true
|
required: true
|
||||||
@@ -28,8 +27,8 @@ services:
|
|||||||
#- 8880:8000
|
#- 8880:8000
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "-f", "http://localhost:8000/status"]
|
test: ["CMD", "curl", "-f", "http://localhost:8000/status"]
|
||||||
interval: 10s
|
interval: 5s
|
||||||
timeout: 5s
|
timeout: 3s
|
||||||
retries: 5
|
retries: 5
|
||||||
# networks:
|
# networks:
|
||||||
# default:
|
# default:
|
||||||
|
|||||||
Reference in New Issue
Block a user