docs: Add mTLS docker-compose example (#744)

Add mTLS docker-compose example
This commit is contained in:
Chris Smith
2024-06-10 18:47:47 -04:00
committed by GitHub
parent 11aeec45c9
commit 23a5da8dc6
8 changed files with 246 additions and 0 deletions

View File

@ -0,0 +1,27 @@
version: "3.9"
services:
nginx:
image: nginx:stable
volumes:
- ./certs/server:/etc/nginx/certs
- ./nginx:/etc/nginx/conf.d
ports:
- "8443:443"
networks:
- mtls
gatus:
image: twinproduction/gatus:latest
restart: always
ports:
- "8080:8080"
volumes:
- ./config:/config
- ./certs/client:/certs
environment:
- GATUS_CONFIG_PATH=/config
networks:
- mtls
networks:
mtls: