Compose-Library/pritunl-zero.compose.yaml.txt
2025-01-25 18:01:48 +01:00

19 lines
No EOL
597 B
Text
Executable file

services:
pritunl-zero:
container_name: pritunl-zero-front-${IP}-${PORT_HTTPS}-${PORT_HTTP}
ports:
- ${IP}:${PORT_HTTP}:80
- ${IP}:${PORT_HTTPS}:443
environment:
- MONGO_URI=mongodb://${IP}:${DB_PORT}/pritunl-zero
- NODE_ID=${ID}
image: docker.io/pritunl/pritunl-zero
mongodb:
image: mongo:latest
container_name: pritunl-zero-back-${IP}-${DB_PORT}
restart: unless-stopped
ports:
- ${IP}:${DB_PORT}:27017
volumes:
- ${DATA_DIR}/data/mongodb:/data/db