From f1a01ebe47777ab7dc2216c8685694b9c39e69e2 Mon Sep 17 00:00:00 2001 From: Chakib Benziane Date: Sun, 24 Mar 2019 02:34:36 +0100 Subject: [PATCH] fix compose --- docker-compose.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 32320d9..87686fc 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,7 @@ version: "3.4" volumes: - redis: + #redis: file-storage: sqlite: gocache: @@ -13,6 +13,7 @@ services: environment: - GO111MODULE=on - BIT4SAT_DB_PATH=/sqlite + - BIT4SAT_STORAGE_PATH=/storage - GOPATH=/go #deploy: @@ -25,15 +26,16 @@ services: - $PWD:/src - gocache:/go - ./db-storage:/sqlite + - file-storage:/storage working_dir: /src - redis: - image: redis:alpine + #redis: + #image: redis:alpine - volumes: - - redis:/data + #volumes: + #- redis:/data - command: - - redis-server - - --appendonly yes + #command: + #- redis-server + #- --appendonly yes