28 lines
615 B
YAML
28 lines
615 B
YAML
version: "3.9"
|
|
|
|
services:
|
|
hoelee-portal:
|
|
image: nginx:1.27-alpine
|
|
container_name: hoelee-portal
|
|
hostname: hoelee-portal
|
|
restart: always
|
|
volumes:
|
|
- /volume1/docker/hoelee-portal/html:/usr/share/nginx/html:ro
|
|
- /volume1/docker/hoelee-portal/conf.d:/etc/nginx/conf.d:ro
|
|
ports:
|
|
- "8099:80"
|
|
environment:
|
|
- TZ=Asia/Kuala_Lumpur
|
|
mem_limit: 128m
|
|
healthcheck:
|
|
test: ["CMD", "wget", "-qO-", "http://127.0.0.1/healthz"]
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 3
|
|
networks:
|
|
- bridge_hoelee
|
|
|
|
networks:
|
|
bridge_hoelee:
|
|
external: true
|