TEST docker 2

pull/29/head
tycrek 3 years ago
parent 04ff0a0b03
commit d340ef06de
No known key found for this signature in database
GPG Key ID: 25D74F3943625263

@ -13,13 +13,23 @@ services:
- "40115:40115" - "40115:40115"
- "45375:45375" - "45375:45375"
volumes: volumes:
- ./uploads:/opt/ass/uploads - type: volume
- ./config.json:/opt/ass/config.json source: ./uploads
- ./auth.json:/opt/ass/auth.json target: /opt/ass/uploads
- ./data.json:/opt/ass/data.json - type: volume
- ./share:/opt/ass/share source: ./share
target: /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
working_dir: /opt/ass # this is where the ass files are located within the container working_dir: /opt/ass
tty: true tty: true
environment: environment:
- NODE_ENV=production # for production - NODE_ENV=production # for production

Loading…
Cancel
Save