feat: add env for docker-compose
This commit is contained in:
@@ -4,6 +4,7 @@ services:
|
||||
app:
|
||||
container_name: mx-server
|
||||
image: innei/mx-server:latest
|
||||
command: node index.js --redis_host=redis --db_host=mongo --allowed_origins=${ALLOWED_ORIGINS} --jwt_secret=${JWT_SECRET}
|
||||
restart: 'on-failure'
|
||||
ports:
|
||||
- '2333:2333'
|
||||
|
||||
Reference in New Issue
Block a user