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: