Initial commit
This commit is contained in:
18
docker-compose.yml
Normal file
18
docker-compose.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
services:
|
||||
app:
|
||||
build: .
|
||||
container_name: app-service
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
SECRET_KEY: ${SECRET_KEY}
|
||||
ALLOWED_HOSTS: ${ALLOWED_HOSTS}
|
||||
volumes:
|
||||
- ./config:/config
|
||||
ports:
|
||||
- "5174:8000"
|
||||
healthcheck:
|
||||
test: [ "CMD-SHELL", "curl -f http://localhost:8000/health || exit 1" ]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
start_period: 40s
|
||||
retries: 3
|
||||
Reference in New Issue
Block a user