first commit
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
# Default build from source (удобно на aaPanel без Docker Hub)
|
||||
services:
|
||||
web:
|
||||
build:
|
||||
context: ./app
|
||||
dockerfile: Dockerfile
|
||||
image: remna-site:local
|
||||
container_name: remna-web
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "127.0.0.1:8000:8000"
|
||||
env_file: .env
|
||||
environment:
|
||||
DATABASE_PATH: /data/app.db
|
||||
volumes:
|
||||
- ./data:/data
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-fsS", "http://127.0.0.1:8000/health"]
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
start_period: 20s
|
||||
Reference in New Issue
Block a user