waterwolf-auth/docker-compose.yml

33 lines
588 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"
2024-10-16 03:36:15 +00:00
waterwolf-auth:
build: .
restart: unless-stopped
ports:
- "3000:3000"
depends_on:
- mysql
- redis
env_file:
- .env
volumes:
- ./keys:/keys
volumes:
mysql-data: