34 lines
707 B
YAML
34 lines
707 B
YAML
version: "3.8"
|
|
|
|
x-logging: &default-logging
|
|
driver: json-file
|
|
options:
|
|
max-size: "10m"
|
|
max-file: "3"
|
|
|
|
services:
|
|
health-check:
|
|
environment:
|
|
- BLOCKER_HOST=10.10.10.110
|
|
- BLOCKER_PORT=4000
|
|
|
|
blocker:
|
|
# uncomment "build" and comment out "image" to build from sources
|
|
# build: https://github.com/SkynetLabs/blocker.git#main
|
|
image: skynetlabs/blocker:0.1.2
|
|
container_name: blocker
|
|
restart: unless-stopped
|
|
logging: *default-logging
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
- ./docker/data/nginx/blocker:/data/nginx/blocker
|
|
expose:
|
|
- 4000
|
|
networks:
|
|
shared:
|
|
ipv4_address: 10.10.10.110
|
|
depends_on:
|
|
- mongo
|
|
- sia
|