2022-08-29 14:05:34 +02:00
|
|
|
version: '3'
|
2022-08-29 08:21:53 +02:00
|
|
|
|
|
|
|
services:
|
|
|
|
express:
|
|
|
|
container_name: soundbirder_express
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: ./docker/express/Dockerfile
|
|
|
|
environment:
|
|
|
|
- NODE_ENV=production
|
|
|
|
- REDIS_HOST=${REDIS_HOST:-soundbirder_redis}
|
|
|
|
- REDIS_PORT=${REDIS_PORT:-6379}
|
2022-08-29 14:05:34 +02:00
|
|
|
- DEBUG=${DEBUG:-""}
|
2022-08-29 08:21:53 +02:00
|
|
|
ports:
|
|
|
|
- "${EXPRESS_PORT:-3000}:3000"
|
2022-08-29 14:05:34 +02:00
|
|
|
restart: unless-stopped
|
2022-08-29 08:21:53 +02:00
|
|
|
networks:
|
|
|
|
- soundbirder_network
|
|
|
|
depends_on:
|
|
|
|
- redis
|
|
|
|
|
|
|
|
redis:
|
|
|
|
container_name: soundbirder_redis
|
|
|
|
image: redis
|
|
|
|
networks:
|
|
|
|
- soundbirder_network
|
|
|
|
|
|
|
|
networks:
|
|
|
|
soundbirder_network:
|
|
|
|
driver: bridge
|