fix compose
This commit is contained in:
parent
b31df12a3d
commit
f1a01ebe47
@ -1,7 +1,7 @@
|
|||||||
version: "3.4"
|
version: "3.4"
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
redis:
|
#redis:
|
||||||
file-storage:
|
file-storage:
|
||||||
sqlite:
|
sqlite:
|
||||||
gocache:
|
gocache:
|
||||||
@ -13,6 +13,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- GO111MODULE=on
|
- GO111MODULE=on
|
||||||
- BIT4SAT_DB_PATH=/sqlite
|
- BIT4SAT_DB_PATH=/sqlite
|
||||||
|
- BIT4SAT_STORAGE_PATH=/storage
|
||||||
- GOPATH=/go
|
- GOPATH=/go
|
||||||
|
|
||||||
#deploy:
|
#deploy:
|
||||||
@ -25,15 +26,16 @@ services:
|
|||||||
- $PWD:/src
|
- $PWD:/src
|
||||||
- gocache:/go
|
- gocache:/go
|
||||||
- ./db-storage:/sqlite
|
- ./db-storage:/sqlite
|
||||||
|
- file-storage:/storage
|
||||||
|
|
||||||
working_dir: /src
|
working_dir: /src
|
||||||
|
|
||||||
redis:
|
#redis:
|
||||||
image: redis:alpine
|
#image: redis:alpine
|
||||||
|
|
||||||
volumes:
|
#volumes:
|
||||||
- redis:/data
|
#- redis:/data
|
||||||
|
|
||||||
command:
|
#command:
|
||||||
- redis-server
|
#- redis-server
|
||||||
- --appendonly yes
|
#- --appendonly yes
|
||||||
|
Loading…
Reference in New Issue
Block a user