fix compose

This commit is contained in:
Chakib Benziane 2019-03-24 02:34:36 +01:00
parent b31df12a3d
commit f1a01ebe47

View File

@ -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