1
0
Fork 0

Some log information and error treatment

This commit is contained in:
Joao M 2022-08-20 15:50:11 +00:00
parent 9ba269845d
commit 4b85b98412
9 changed files with 69 additions and 1 deletions

32
docker-compose.yml Normal file
View file

@ -0,0 +1,32 @@
version: "3"
services:
easyhaproxy:
image: byjg/easy-haproxy:4.1.0
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- certs_letsencrypt:/certs/letsencrypt
- certs_haproxy:/certs/haproxy
environment:
EASYHAPROXY_DISCOVER: docker
EASYHAPROXY_LABEL_PREFIX: easyhaproxy
EASYHAPROXY_LETSENCRYPT_EMAIL: changeme@example.org
EASYHAPROXY_SSL_MODE: "default"
HAPROXY_CUSTOMERRORS: "true"
HAPROXY_USERNAME: admin
HAPROXY_PASSWORD: password
HAPROXY_STATS_PORT: 1936
ports:
- "80:80/tcp"
- "443:443/tcp"
- "1936:1936/tcp"
volumes:
certs_letsencrypt:
certs_haproxy:
networks:
easyhaproxy:
driver: bridge