mirror of
https://github.com/TwiN/gatus.git
synced 2024-12-14 11:58:04 +00:00
23a5da8dc6
Add mTLS docker-compose example
27 lines
467 B
YAML
27 lines
467 B
YAML
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:
|