2020-06-22 09:54:01 +00:00
|
|
|
version: "3.7"
|
|
|
|
|
2020-11-03 14:43:55 +00:00
|
|
|
x-logging: &default-logging
|
2020-09-30 11:18:39 +00:00
|
|
|
driver: json-file
|
|
|
|
options:
|
|
|
|
max-size: "10m"
|
|
|
|
max-file: "3"
|
|
|
|
|
2020-06-22 09:54:01 +00:00
|
|
|
networks:
|
|
|
|
shared:
|
2020-09-08 14:30:54 +00:00
|
|
|
ipam:
|
|
|
|
driver: default
|
|
|
|
config:
|
2020-10-13 11:47:31 +00:00
|
|
|
- subnet: 10.10.10.0/24
|
2020-06-22 09:54:01 +00:00
|
|
|
|
|
|
|
services:
|
|
|
|
health-check:
|
|
|
|
build:
|
2020-07-30 12:23:49 +00:00
|
|
|
context: ./packages/health-check
|
2020-07-30 10:56:18 +00:00
|
|
|
dockerfile: Dockerfile
|
2020-06-22 09:54:01 +00:00
|
|
|
container_name: health-check
|
2020-07-30 10:00:58 +00:00
|
|
|
restart: unless-stopped
|
2020-09-30 11:18:39 +00:00
|
|
|
logging: *default-logging
|
2020-06-22 09:54:01 +00:00
|
|
|
volumes:
|
|
|
|
- ./docker/data/health-check/state:/usr/app/state
|
|
|
|
networks:
|
2020-09-08 14:30:54 +00:00
|
|
|
shared:
|
2020-10-13 11:47:31 +00:00
|
|
|
ipv4_address: 10.10.10.60
|
2020-06-22 09:54:01 +00:00
|
|
|
environment:
|
2020-08-01 15:04:23 +00:00
|
|
|
- HOSTNAME=0.0.0.0
|
2021-04-29 14:56:53 +00:00
|
|
|
- PORTAL_URL=https://siasky.net
|
2021-01-26 11:18:40 +00:00
|
|
|
- STATE_DIR=/usr/app/state
|
2020-06-22 09:54:01 +00:00
|
|
|
expose:
|
|
|
|
- 3100
|