|
|
@ -14,22 +14,9 @@ services:
|
|
|
|
restart: unless-stopped
|
|
|
|
restart: unless-stopped
|
|
|
|
ports:
|
|
|
|
ports:
|
|
|
|
- "40115:40115"
|
|
|
|
- "40115:40115"
|
|
|
|
volumes:
|
|
|
|
|
|
|
|
- ./uploads:/opt/ass/uploads
|
|
|
|
|
|
|
|
- ./share:/opt/ass/share
|
|
|
|
|
|
|
|
- type: bind
|
|
|
|
|
|
|
|
source: ./config.json
|
|
|
|
|
|
|
|
target: /opt/ass/config.json
|
|
|
|
|
|
|
|
- type: bind
|
|
|
|
|
|
|
|
source: ./auth.json
|
|
|
|
|
|
|
|
target: /opt/ass/auth.json
|
|
|
|
|
|
|
|
- type: bind
|
|
|
|
|
|
|
|
source: ./data.json
|
|
|
|
|
|
|
|
target: /opt/ass/data.json
|
|
|
|
|
|
|
|
tmpfs: /tmp # temp files such as uploads are stored here
|
|
|
|
tmpfs: /tmp # temp files such as uploads are stored here
|
|
|
|
tty: true
|
|
|
|
tty: true
|
|
|
|
environment:
|
|
|
|
environment:
|
|
|
|
- NODE_ENV=production # for production
|
|
|
|
- NODE_ENV=production # for production
|
|
|
|
- ASS_ENV=docker # docker, local, production (not widely used yet)
|
|
|
|
- ASS_ENV=docker # docker, local, production (not widely used yet)
|
|
|
|
- LOG_LEVEL=debug # debug, info, warn, error
|
|
|
|
|
|
|
|
- FORCE_COLOR=3 # force color output
|
|
|
|
- FORCE_COLOR=3 # force color output
|
|
|
|