build(docker): update docker build

This commit is contained in:
2026-04-14 01:38:11 +03:00
parent ad8144df37
commit 6112147b40
6 changed files with 85 additions and 6 deletions

View File

@@ -0,0 +1,25 @@
name: gallery
services:
redis:
container_name: gallery-redis
image: redis:alpine
stop_grace_period: 3s
volumes:
- redis_data:/data
app:
container_name: gallery-app-develop
build: .
environment:
- REDIS_HOST=redis
- DEBUG=1
ports:
- 8000:80
develop:
watch:
- action: sync
path: ./gallery
target: /app/gallery
volumes:
redis_data: