forked from jahway603/knomp
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
31 lines
699 B
version: '3'
|
|
|
|
services:
|
|
hnomp:
|
|
container_name: hnomp
|
|
network_mode: host
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
volumes:
|
|
- ./config.json:/home/hnomp/hnomp/config.json
|
|
- ./coins:/home/hnomp/hnomp/coins
|
|
- ./libs:/home/hnomp/hnomp/libs
|
|
- ./pool_configs:/home/hnomp/hnomp/pool_configs
|
|
- ./website:/home/hnomp/hnomp/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
|
|
|