version: '2' volumes: laserrdb: external: true services: db: env_file: .env image: redis:6-alpine ports: - "6379:6379" volumes: - laserrdb:/var/lib/redis app: env_file: .env build: . image: teamlaser/laser-app:latest ports: - "5000:5000" depends_on: - db command: python ./server.py assets: env_file: .env build: . image: teamlaser/laser-app:latest ports: - "8080:80" depends_on: - app command: nginx -g 'daemon off;error_log /dev/stdout info;'