2024-07-16 01:05:06 -04:00
|
|
|
version: '3.8'
|
|
|
|
|
|
|
|
services:
|
|
|
|
mysql:
|
|
|
|
image: mysql:latest
|
|
|
|
restart: unless-stopped
|
|
|
|
environment:
|
|
|
|
MYSQL_ROOT_PASSWORD: password
|
|
|
|
MYSQL_DATABASE: waterwolf-auth
|
2024-10-14 18:21:05 -04:00
|
|
|
ports:
|
|
|
|
- "3306:3306"
|
2024-07-16 01:05:06 -04:00
|
|
|
volumes:
|
|
|
|
- mysql-data:/var/lib/mysql
|
2024-10-16 16:58:05 -04:00
|
|
|
|
2024-07-16 01:05:06 -04:00
|
|
|
redis:
|
|
|
|
image: redis/redis-stack-server:6.2.2-v5
|
|
|
|
restart: unless-stopped
|
2024-10-14 18:21:05 -04:00
|
|
|
ports:
|
|
|
|
- "6379:6379"
|
2024-10-16 16:58:05 -04:00
|
|
|
|
|
|
|
nginx:
|
2024-10-16 17:42:02 -04:00
|
|
|
image: nginx:latest
|
2024-10-15 23:36:15 -04:00
|
|
|
ports:
|
2024-10-16 16:58:05 -04:00
|
|
|
- target: 80
|
|
|
|
published: 80
|
|
|
|
protocol: tcp
|
|
|
|
mode: host
|
2024-10-15 23:36:15 -04:00
|
|
|
volumes:
|
2024-10-16 16:58:05 -04:00
|
|
|
- ./configs/nginx-dev.conf:/etc/nginx/nginx.conf
|
|
|
|
command: [nginx-debug, '-g', 'daemon off;']
|
|
|
|
|
2024-07-16 01:05:06 -04:00
|
|
|
volumes:
|
|
|
|
mysql-data:
|