35 lines
678 B
YAML
35 lines
678 B
YAML
version: "3.7"
|
|
|
|
x-logging: &default-logging
|
|
driver: json-file
|
|
options:
|
|
max-size: "10m"
|
|
max-file: "3"
|
|
|
|
networks:
|
|
shared:
|
|
ipam:
|
|
driver: default
|
|
config:
|
|
- subnet: 10.10.10.0/24
|
|
|
|
services:
|
|
health-check:
|
|
build:
|
|
context: ./packages/health-check
|
|
dockerfile: Dockerfile
|
|
container_name: health-check
|
|
restart: unless-stopped
|
|
logging: *default-logging
|
|
volumes:
|
|
- ./docker/data/health-check/state:/usr/app/state
|
|
networks:
|
|
shared:
|
|
ipv4_address: 10.10.10.60
|
|
environment:
|
|
- HOSTNAME=0.0.0.0
|
|
- PORTAL_URL=https://siasky.net
|
|
- STATE_DIR=/usr/app/state
|
|
expose:
|
|
- 3100
|