colligit/docker-compose.yml

18 lines
310 B
YAML

version: "3.8"
services:
app:
build: .
restart: unless-stopped
env_file: '.env'
ports:
- '4050:3000'
environment:
DB_URL: 'mongodb://mongodb:27017'
REDIS_URL: 'redis://cache'
logging:
driver: local
options:
max-size: '10m'
volumes:
mongo-data: