version: '3.8' services: mysql: image: mysql:latest restart: unless-stopped environment: MYSQL_ROOT_PASSWORD: password MYSQL_DATABASE: waterwolf-auth volumes: - mysql-data:/var/lib/mysql redis: image: redis/redis-stack-server:6.2.2-v5 restart: unless-stopped waterwolf-auth: depends_on: - mysql - redis build: context: . target: all-source-stage restart: unless-stopped expose: - '3000' stdin_open: true tty: true volumes: mysql-data: