init
This commit is contained in:
24
rodchenko/docker-compose.yml
Executable file
24
rodchenko/docker-compose.yml
Executable file
@@ -0,0 +1,24 @@
|
||||
services:
|
||||
rodchenko:
|
||||
build: .
|
||||
ports:
|
||||
- "5050:5050"
|
||||
environment:
|
||||
PYTHONUNBUFFERED: 1
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "curl -f http://127.0.0.1:5050/healthcheck || exit 1"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
start_period: 5s
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: "2"
|
||||
memory: 2G
|
||||
reservations:
|
||||
cpus: "1"
|
||||
memory: 1G
|
||||
volumes:
|
||||
- .auction_db:/app/data/
|
||||
Reference in New Issue
Block a user