You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
657 B
YAML
40 lines
657 B
YAML
version: "3.4"
|
|
|
|
volumes:
|
|
redis:
|
|
file-storage:
|
|
sqlite:
|
|
gocache:
|
|
|
|
services:
|
|
bit4sat:
|
|
image: sp4ke/bit4sat
|
|
build: ./docker
|
|
environment:
|
|
- GO111MODULE=on
|
|
- BIT4SAT_DB_PATH=/sqlite
|
|
- GOPATH=/go
|
|
|
|
#deploy:
|
|
#replicas: 1
|
|
#
|
|
ports:
|
|
- "8880:8880"
|
|
|
|
volumes:
|
|
- $PWD:/src
|
|
- gocache:/go
|
|
- ./db-storage:/sqlite
|
|
|
|
working_dir: /src
|
|
|
|
redis:
|
|
image: redis:alpine
|
|
|
|
volumes:
|
|
- redis:/data
|
|
|
|
command:
|
|
- redis-server
|
|
- --appendonly yes
|