fix compose
This commit is contained in:
parent
b31df12a3d
commit
f1a01ebe47
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user