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.
bit4sat/docker-compose.yml

42 lines
739 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
- BIT4SAT_STORAGE_PATH=/storage
- GOPATH=/go
#deploy:
#replicas: 1
#
ports:
- "8880:8880"
volumes:
- $PWD:/src
- gocache:/go
- ./db-storage:/sqlite
- file-storage:/storage
working_dir: /src
redis:
image: redis:alpine
volumes:
- redis:/data
command:
- redis-server
- --appendonly yes