waterwolf-auth/docker-compose.yml

33 lines
635 B
YAML
Raw Normal View History

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
2024-10-16 03:36:15 +00:00
ports:
- target: 80
published: 80
protocol: tcp
mode: host
2024-10-16 03:36:15 +00:00
volumes:
- ./configs/nginx-dev.conf:/etc/nginx/nginx.conf
command: [nginx-debug, '-g', 'daemon off;']
volumes:
mysql-data: