Files
jakach-logging/docker-compose.yml
T
2026-05-06 11:28:41 +02:00

38 lines
636 B
YAML

services:
api:
build:
context: .
dockerfile: docker/Dockerfile.api
volumes:
- .:/app
- data:/app/data
depends_on:
- redis
nginx:
image: nginx:alpine
ports:
- "8080:80"
volumes:
- .:/app
- ./docker/nginx.conf:/etc/nginx/conf.d/default.conf
depends_on:
- api
worker:
build:
context: .
dockerfile: docker/Dockerfile.php
volumes:
- .:/app
- /var/log:/host/logs:ro
- data:/app/data
depends_on:
- redis
command: ["php", "bin/consume", "--daemon"]
redis:
image: redis:7-alpine
volumes:
data: