Skip to content

Commit

Permalink
Merge pull request #10 from cryptlex/saalim/update-docker-compose
Browse files Browse the repository at this point in the history
fix: update yml and .env files
  • Loading branch information
adnan-kamili authored Sep 25, 2024
2 parents 8898c27 + 012da96 commit 8d226a4
Show file tree
Hide file tree
Showing 5 changed files with 86 additions and 20 deletions.
3 changes: 3 additions & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ [email protected]
WEB_API_DOMAIN=cryptlex-api.mycompany.com
DASHBOARD_DOMAIN=cryptlex-app.mycompany.com
RELEASE_SERVER_DOMAIN=cryptlex-releases.mycompany.com
ADMIN_PORTAL_DOMAIN=admin-portal.mycompany.com
CUSTOMER_PORTAL_DOMAIN=customer-portal.mycompany.com
RESELLER_PORTAL_DOMAIN=reseller-portal.mycompany.com

# filestore - Minio or AWS S3

Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/codium_pr_agent.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Codium PR Agent Workflow

on:
pull_request:
types: [opened, reopened, ready_for_review]
issue_comment:

jobs:
call-workflow:
uses: cryptlex/github-actions/.github/workflows/codium_pr_agent.yml@main
secrets: inherit


18 changes: 0 additions & 18 deletions .github/workflows/pr-agent.yml

This file was deleted.

70 changes: 68 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3'

services:
database:
image: postgres:10.7-alpine
image: postgres:16.3-alpine
environment:
PGDATA: /var/lib/postgresql/data/pgdata
POSTGRES_USER: ${POSTGRES_USER}
Expand Down Expand Up @@ -55,7 +55,7 @@ services:
max-size: "20m"
labels:
- traefik.enable=false

reverse-proxy:
image: traefik:1.7-alpine
command: --api --docker --logLevel=INFO --acme.email=${EMAIL}
Expand Down Expand Up @@ -150,6 +150,72 @@ services:
- traefik.docker.network=cryptlex-on-premise_backend
- traefik.port=4200

admin-portal:
image: cryptlex/admin-portal:latest
depends_on:
- web-api
environment:
WEB_API_BASE_URL: https://${WEB_API_DOMAIN}
RELEASE_SERVER_BASE_URL: https://${RELEASE_SERVER_DOMAIN}
networks:
- backend
restart: unless-stopped
ports:
- 4400
logging:
driver: "json-file"
options:
max-size: "20m"
labels:
- traefik.backend=cryptlex/cryptlex-admin-portal
- traefik.frontend.rule=Host:${ADMIN_PORTAL_DOMAIN}
- traefik.docker.network=cryptlex-on-premise_backend
- traefik.port=4400

customer-portal:
image: cryptlex/customer-portal:latest
depends_on:
- web-api
environment:
WEB_API_BASE_URL: https://${WEB_API_DOMAIN}
RELEASE_SERVER_BASE_URL: https://${RELEASE_SERVER_DOMAIN}
networks:
- backend
restart: unless-stopped
ports:
- 4401
logging:
driver: "json-file"
options:
max-size: "20m"
labels:
- traefik.backend=cryptlex/cryptlex-customer-portal
- traefik.frontend.rule=Host:${CUSTOMER_PORTAL_DOMAIN}
- traefik.docker.network=cryptlex-on-premise_backend
- traefik.port=4401

reseller-portal:
image: cryptlex/reseller-portal:latest
depends_on:
- web-api
environment:
WEB_API_BASE_URL: https://${WEB_API_DOMAIN}
RELEASE_SERVER_BASE_URL: https://${RELEASE_SERVER_DOMAIN}
networks:
- backend
restart: unless-stopped
ports:
- 4402
logging:
driver: "json-file"
options:
max-size: "20m"
labels:
- traefik.backend=cryptlex/cryptlex-reseller-portal
- traefik.frontend.rule=Host:${RESELLER_PORTAL_DOMAIN}
- traefik.docker.network=cryptlex-on-premise_backend
- traefik.port=4402

release-server:
image: cryptlex/cryptlex-release-server:latest
depends_on:
Expand Down
2 changes: 2 additions & 0 deletions web-api.env
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,6 @@ EMAIL_SIGNATURE=<p>Thanks,<br>The Company Team</p>
# App metrics
#NEW_RELIC_LICENSE_KEY=

GOOGLE_ANALYTICS_KEY=UA-XXXXXXXX-X


0 comments on commit 8d226a4

Please sign in to comment.