Torn.com-ActivityTracker/docker-compose.yml

35 lines
511 B
YAML
Raw Permalink Normal View History

2025-02-22 16:55:41 +01:00
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