goshorly/docker-compose.yml
2021-12-07 15:49:58 +01:00

23 lines
No EOL
344 B
YAML

version: "3"
services:
web:
build: .
ports:
- "3000:3000"
depends_on:
- redis
restart: always
redis:
image: redis:alpine
command: redis-server --appendonly yes
volumes:
- db:/data
ports:
- "6379:6379"
environment:
- REDIS_PASSWORD=abc123
restart: always
volumes:
db: