waterwolf-auth/docker-compose.yml
2024-10-16 17:42:02 -04:00

33 lines
No EOL
635 B
YAML

version: '3.8'
services:
mysql:
image: mysql:latest
restart: unless-stopped
environment:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: waterwolf-auth
ports:
- "3306:3306"
volumes:
- mysql-data:/var/lib/mysql
redis:
image: redis/redis-stack-server:6.2.2-v5
restart: unless-stopped
ports:
- "6379:6379"
nginx:
image: nginx:latest
ports:
- target: 80
published: 80
protocol: tcp
mode: host
volumes:
- ./configs/nginx-dev.conf:/etc/nginx/nginx.conf
command: [nginx-debug, '-g', 'daemon off;']
volumes:
mysql-data: