Michael Beck 5e98a0ba47 init
2025-02-22 16:55:41 +01:00

35 lines
511 B
YAML

version: '3.8'
services:
redis:
image: redis:alpine
restart: always
volumes:
- .:/app/redis
app:
build: .
container_name: app
restart: always
command: sh ./entrypoint.sh
depends_on:
- redis
volumes:
- .:/app
expose:
- 8000
env_file:
- ./.env
nginx:
build:
context: .
dockerfile: nginx/Dockerfile
container_name: nginx
ports:
- "80:80"
volumes:
- .:/app/nginx
depends_on:
- app