pep-example/pepexample/docker-compose.yaml

19 lines
436 B
YAML

version: '3.6'
services:
pep:
image: peptest:latest
ports:
- "80:80"
healthcheck:
test: curl http://localhost/health
interval: 5s
timeout: 5s
retries: 12
volumes:
- ./server.py:/opt/server.py
- ./default.conf:/etc/nginx/conf.d/default.conf
- ./pep.js:/etc/nginx/pep.js
- ./config.js:/etc/nginx/config.js
environment:
PEP_CREDENTIALS: ${pep_credentials}