feat: add env for docker-compose

This commit is contained in:
Innei
2021-10-02 14:03:28 +08:00
parent 9103863b6b
commit 9cef745dc8
8 changed files with 8 additions and 77 deletions

View File

@@ -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'