forked from DevOps/deploy.stack
14 lines
355 B
YAML
14 lines
355 B
YAML
|
|
## RUN:: docker compose -p haproxy --env-file ./haproxy/env.cfg -f ./haproxy/stack.yml up -d
|
||
|
|
|
||
|
|
services:
|
||
|
|
haproxy:
|
||
|
|
image: ${IMAGE_TAG}
|
||
|
|
restart: always
|
||
|
|
ports:
|
||
|
|
- "80:80"
|
||
|
|
- "443:443"
|
||
|
|
volumes:
|
||
|
|
- ${Volumes_Path}/haproxy/:/usr/local/etc/haproxy
|
||
|
|
- /etc/localtime:/etc/localtime:ro
|
||
|
|
environment:
|
||
|
|
- TZ=Asia/Shanghai
|