From e71f5fcd5e940380ec7c8518cf597cede9ebe377 Mon Sep 17 00:00:00 2001 From: tycrek Date: Wed, 14 Jul 2021 11:34:04 -0600 Subject: [PATCH] TEST some docker-compose changes --- compose.yaml | 35 +++++++++++++++++------------------ 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/compose.yaml b/compose.yaml index 738144b..6ddb05e 100644 --- a/compose.yaml +++ b/compose.yaml @@ -10,24 +10,15 @@ services: container_name: ass-docker restart: unless-stopped ports: - - "40115:40115" - - "45375:45375" + - "40115:40115" + - "45375:45375" volumes: - - type: bind # default local file storage - source: ./uploads - target: /opt/ass/uploads - - type: bind # config data - source: ./config.json - target: /opt/ass/config.json - - type: bind # user data - source: ./auth.json - target: /opt/ass/auth.json - - type: bind # file data (for the default JSONStorageEngine) - source: ./data.json - target: /opt/ass/data.json - - type: bind # share directory (for future use) - source: ./share - target: /opt/ass/share + - ./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 + - weird:/opt/ass/weird 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 tty: true @@ -35,4 +26,12 @@ services: - NODE_ENV=production # for production - ASS_ENV=docker # docker, local, production (not widely used yet) - LOG_LEVEL=debug # debug, info, warn, error - - FORCE_COLOR=3 # force colour output \ No newline at end of file + - FORCE_COLOR=3 # force colour output + +volumes: + weird: + driver: local + driver_opts: + o: bind + type: none + device: ./weirdness \ No newline at end of file