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