You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

31 lines
699 B

version: '3'
services:
knomp:
container_name: knomp
network_mode: host
build:
context: .
dockerfile: Dockerfile
volumes:
- ./config.json:/home/knomp/knomp/config.json
- ./coins:/home/knomp/knomp/coins
- ./libs:/home/knomp/knomp/libs
- ./pool_configs:/home/knomp/knomp/pool_configs
- ./website:/home/knomp/knomp/website
# ports:
# - 8080:8080
# - 3333:3333
depends_on:
- redis
redis:
image: redis:6.0.10-alpine
container_name: redis
network_mode: host
command: ["redis-server", "--appendonly", "yes"]
volumes:
- ./redis-data:/data
# ports:
# - 6379:6379
restart: always