Merge branch 'fix/unified-docker-compose' of github.com:bluewave-labs/checkmate into fix/unified-docker-compose
This commit is contained in:
commit
4493cca871
1 file changed
+16
-7
@@ -1,5 +1,5 @@
|
|||||||
services:
|
services:
|
||||||
#Gateway
|
# Gateway (Single Entry Point)
|
||||||
gateway:
|
gateway:
|
||||||
image: nginx:1.27.1-alpine
|
image: nginx:1.27.1-alpine
|
||||||
container_name: checkmate-gateway
|
container_name: checkmate-gateway
|
||||||
@@ -10,9 +10,11 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- /etc/letsencrypt:/etc/nginx/ssl:ro
|
- /etc/letsencrypt:/etc/nginx/ssl:ro
|
||||||
- ./gateway/nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
- ./gateway/nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
||||||
# Production -----
|
|
||||||
|
# Production Stack -----
|
||||||
client-prod:
|
client-prod:
|
||||||
image: ghcr.io/bluewave-labs/checkmate:frontend-demo
|
image: ghcr.io/bluewave-labs/checkmate:frontend-demo
|
||||||
|
container_name: client-prod
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
UPTIME_APP_API_BASE_URL: "https://demo.checkmate.so/api/v1"
|
UPTIME_APP_API_BASE_URL: "https://demo.checkmate.so/api/v1"
|
||||||
@@ -23,19 +25,21 @@ services:
|
|||||||
- server-prod
|
- server-prod
|
||||||
volumes:
|
volumes:
|
||||||
- ./nginx/conf.d/prod.conf:/etc/nginx/conf.d/default.conf:ro
|
- ./nginx/conf.d/prod.conf:/etc/nginx/conf.d/default.conf:ro
|
||||||
|
|
||||||
server-prod:
|
server-prod:
|
||||||
image: ghcr.io/bluewave-labs/checkmate:backend-demo
|
image: ghcr.io/bluewave-labs/checkmate:backend-demo
|
||||||
|
container_name: server-prod
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
|
||||||
- "52345:52345"
|
|
||||||
env_file:
|
env_file:
|
||||||
- server-prod.env
|
- server-prod.env
|
||||||
depends_on:
|
depends_on:
|
||||||
- mongodb-prod
|
- mongodb-prod
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
|
|
||||||
mongodb-prod:
|
mongodb-prod:
|
||||||
image: ghcr.io/bluewave-labs/checkmate:mongo-demo
|
image: ghcr.io/bluewave-labs/checkmate:mongo-demo
|
||||||
|
container_name: mongodb-prod
|
||||||
restart: always
|
restart: always
|
||||||
command: [ "mongod", "--quiet", "--bind_ip_all" ]
|
command: [ "mongod", "--quiet", "--bind_ip_all" ]
|
||||||
volumes:
|
volumes:
|
||||||
@@ -50,9 +54,10 @@ services:
|
|||||||
start_interval: 1s
|
start_interval: 1s
|
||||||
retries: 30
|
retries: 30
|
||||||
|
|
||||||
# Staging -----
|
# Staging Stack -----
|
||||||
client-staging:
|
client-staging:
|
||||||
image: ghcr.io/bluewave-labs/checkmate:frontend-staging
|
image: ghcr.io/bluewave-labs/checkmate:frontend-staging
|
||||||
|
container_name: client-staging
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
UPTIME_APP_API_BASE_URL: "https://staging.checkmate.so/api/v1"
|
UPTIME_APP_API_BASE_URL: "https://staging.checkmate.so/api/v1"
|
||||||
@@ -63,19 +68,21 @@ services:
|
|||||||
- server-staging
|
- server-staging
|
||||||
volumes:
|
volumes:
|
||||||
- ./nginx/conf.d/staging.conf:/etc/nginx/conf.d/default.conf:ro
|
- ./nginx/conf.d/staging.conf:/etc/nginx/conf.d/default.conf:ro
|
||||||
|
|
||||||
server-staging:
|
server-staging:
|
||||||
image: ghcr.io/bluewave-labs/checkmate:backend-staging
|
image: ghcr.io/bluewave-labs/checkmate:backend-staging
|
||||||
|
container_name: server-staging
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
|
||||||
- "52345:52345"
|
|
||||||
env_file:
|
env_file:
|
||||||
- server-staging.env
|
- server-staging.env
|
||||||
depends_on:
|
depends_on:
|
||||||
- mongodb-staging
|
- mongodb-staging
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
|
|
||||||
mongodb-staging:
|
mongodb-staging:
|
||||||
image: ghcr.io/bluewave-labs/checkmate:mongo-staging
|
image: ghcr.io/bluewave-labs/checkmate:mongo-staging
|
||||||
|
container_name: mongodb-staging
|
||||||
restart: always
|
restart: always
|
||||||
command: [ "mongod", "--quiet", "--bind_ip_all" ]
|
command: [ "mongod", "--quiet", "--bind_ip_all" ]
|
||||||
volumes:
|
volumes:
|
||||||
@@ -89,6 +96,8 @@ services:
|
|||||||
start_period: 0s
|
start_period: 0s
|
||||||
start_interval: 1s
|
start_interval: 1s
|
||||||
retries: 30
|
retries: 30
|
||||||
|
|
||||||
|
# Shared Utils
|
||||||
capture:
|
capture:
|
||||||
image: ghcr.io/bluewave-labs/capture:latest
|
image: ghcr.io/bluewave-labs/capture:latest
|
||||||
container_name: capture
|
container_name: capture
|
||||||
|
|||||||
Reference in new issue
Block a user