mirror of
https://github.com/Dokploy/templates
synced 2025-06-26 18:16:07 +00:00
Merge pull request #48 from mohabgabber/main
fix: checkmate template network issues and env vars for emails
This commit is contained in:
commit
94f1c616b0
@ -3,40 +3,37 @@ services:
|
|||||||
image: bluewaveuptime/uptime_client:latest
|
image: bluewaveuptime/uptime_client:latest
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
UPTIME_APP_API_BASE_URL: "http://${DOMAIN}/api/v1"
|
UPTIME_APP_API_BASE_URL: "https://${DOMAIN}/api/v1"
|
||||||
ports:
|
|
||||||
- 80
|
|
||||||
- 443
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- server
|
- server
|
||||||
|
|
||||||
server:
|
server:
|
||||||
image: bluewaveuptime/uptime_server:latest
|
image: bluewaveuptime/uptime_server:latest
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
|
||||||
- 5000
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- redis
|
||||||
- mongodb
|
- mongodb
|
||||||
environment:
|
environment:
|
||||||
- DB_CONNECTION_STRING=mongodb://mongodb:27017/uptime_db
|
- DB_CONNECTION_STRING=mongodb://checkmate-mongodb:27017/uptime_db
|
||||||
- REDIS_HOST=redis
|
- REDIS_HOST=checkmate-redis
|
||||||
|
- SYSTEM_EMAIL_HOST=${EMAIL_HOST}
|
||||||
|
- SYSTEM_EMAIL_PORT=${EMAIL_PORT}
|
||||||
|
- SYSTEM_EMAIL_ADDRESS=${EMAIL_ADDRESS}
|
||||||
|
- SYSTEM_EMAIL_PASSWORD=${EMAIL_PASSWORD}
|
||||||
# volumes:
|
# volumes:
|
||||||
# - /var/run/docker.sock:/var/run/docker.sock:ro
|
# - /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: bluewaveuptime/uptime_redis:latest
|
image: bluewaveuptime/uptime_redis:latest
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
hostname: checkmate-redis
|
||||||
- 6379
|
|
||||||
volumes:
|
volumes:
|
||||||
- ../files/redis/data:/data
|
- ../files/redis/data:/data
|
||||||
|
|
||||||
mongodb:
|
mongodb:
|
||||||
image: bluewaveuptime/uptime_database_mongo:latest
|
image: bluewaveuptime/uptime_database_mongo:latest
|
||||||
restart: always
|
restart: always
|
||||||
|
hostname: checkmate-mongodb
|
||||||
volumes:
|
volumes:
|
||||||
- ../files/mongo/data:/data/db
|
- ../files/mongo/data:/data/db
|
||||||
command: ["mongod", "--quiet"]
|
command: ["mongod", "--quiet"]
|
||||||
ports:
|
|
||||||
- 27017
|
|
||||||
|
Loading…
Reference in New Issue
Block a user