build(docker): update docker build

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

View File

@@ -1,3 +1,5 @@
name: gallery
services:
redis:
container_name: gallery-redis
@@ -5,13 +7,13 @@ services:
stop_grace_period: 3s
volumes:
- redis_data:/data
command: [ "redis-server", "--bind", "0.0.0.0", "--port", "6379" ]
app:
container_name: gallery-app
build: .
# image: shmyga/gallery
image: ${DOCKER_ROOT}/gallery
environment:
- REDIS_HOST=redis
depends_on:
- redis
ports:
- 8000:80