~craftyguy/ridecasa

26c3155d3547db04796b4f5e86d5b6bd5c9901b4 — Clayton Craft 2 years ago e854efa
docker-compose: set RIDECASA_TMP_DIR for containers to share tmp dir
1 files changed, 4 insertions(+), 2 deletions(-)

M docker-compose/docker-compose.yaml
M docker-compose/docker-compose.yaml => docker-compose/docker-compose.yaml +4 -2
@@ 8,9 8,10 @@ services:
      - "9000:9000"
    environment:
      SQLITE_DB_DIR: /var/lib/db
      RIDECASA_TMP_DIR: /tmp/ridecasa
    volumes:
      - db_data:/var/lib/db
      - tmp:/tmp/ridecasa/uploads
      - tmp:/tmp/ridecasa
      - type: bind
        source: /opt/ridecasa
        target: /app


@@ 23,9 24,10 @@ services:
    restart: always
    environment:
      SQLITE_DB_DIR: /var/lib/db
      RIDECASA_TMP_DIR: /tmp/ridecasa
    volumes:
      - db_data:/var/lib/db
      - tmp:/tmp/ridecasa/uploads
      - tmp:/tmp/ridecasa
      - type: bind
        source: /opt/ridecasa
        target: /app