26 lines
596 B
YAML
26 lines
596 B
YAML
version: "3.8"
|
|
|
|
x-common: &common
|
|
pull_policy: always # always, never, missing, build
|
|
restart: unless-stopped
|
|
stop_signal: SIGINT
|
|
stop_grace_period: 1m
|
|
logging:
|
|
driver: "json-file"
|
|
options:
|
|
max-file: "10"
|
|
max-size: "100m"
|
|
|
|
services:
|
|
hkchc-payment-frontend-server:
|
|
image: registry.hkchc.team/hkchc-payment-frontend:latest
|
|
container_name: hkchc-payment-frontend
|
|
volumes:
|
|
- ./nginx.conf:/etc/nginx/conf.d/default.conf
|
|
working_dir: /etc/nginx/conf.d/
|
|
ports:
|
|
- "50001:80"
|
|
command: [
|
|
"nginx -g daemon off;"
|
|
]
|
|
<<: *common |