mirror of
https://github.com/fullstack-cash/bch-api.git
synced 2026-09-22 09:12:05 -07:00
34 lines
628 B
YAML
34 lines
628 B
YAML
version: '3.9'
|
|
|
|
services:
|
|
bch-api-main:
|
|
build:
|
|
context: ./
|
|
dockerfile: Dockerfile
|
|
#image: bitcore
|
|
container_name: bch-api-main
|
|
links:
|
|
- redis-main
|
|
ports:
|
|
- "3000:3000"
|
|
volumes:
|
|
- ../../logs:/home/safeuser/bch-api/logs
|
|
logging:
|
|
driver: 'json-file'
|
|
options:
|
|
max-size: '10m'
|
|
max-file: '10'
|
|
restart: always
|
|
|
|
redis-main:
|
|
image: redis:latest
|
|
container_name: redis-main
|
|
logging:
|
|
driver: 'json-file'
|
|
options:
|
|
max-size: '10m'
|
|
max-file: '10'
|
|
restart: always
|
|
ports:
|
|
- "172.17.0.1:6379:6379"
|