From d340ef06de0408d4a98a9c1084696e88bb88752f Mon Sep 17 00:00:00 2001 From: tycrek Date: Wed, 14 Jul 2021 11:55:30 -0600 Subject: [PATCH] TEST docker 2 --- compose.yaml | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/compose.yaml b/compose.yaml index 1297f46..be09a61 100644 --- a/compose.yaml +++ b/compose.yaml @@ -13,13 +13,23 @@ services: - "40115:40115" - "45375:45375" volumes: - - ./uploads:/opt/ass/uploads - - ./config.json:/opt/ass/config.json - - ./auth.json:/opt/ass/auth.json - - ./data.json:/opt/ass/data.json - - ./share:/opt/ass/share + - type: volume + source: ./uploads + target: /opt/ass/uploads + - type: volume + 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 - working_dir: /opt/ass # this is where the ass files are located within the container + working_dir: /opt/ass tty: true environment: - NODE_ENV=production # for production