Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update yml and .env files #10

Merged
merged 4 commits into from
Sep 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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