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