mirror of
https://github.com/getlago/lago.git
synced 2025-01-03 13:30:02 +07:00
parent
867d6896fa
commit
d07887ad7d
1
.github/workflows/deploy-preview.yml
vendored
1
.github/workflows/deploy-preview.yml
vendored
@ -134,6 +134,7 @@ jobs:
|
||||
env:
|
||||
RAILS_ENV: staging
|
||||
API_URL: https://${{ github.event.inputs.preview_name }}-api.staging.getlago.com
|
||||
LAGO_FRONT_URL: https://${{ github.event.inputs.preview_name }}-app.staging.getlago.com
|
||||
with:
|
||||
context: ./api
|
||||
push: true
|
||||
|
@ -88,6 +88,7 @@ services:
|
||||
- DATABASE_URL=postgresql://${POSTGRES_USER:-lago}:${POSTGRES_PASSWORD:-changeme}@db:5432/${POSTGRES_DB:-lago}
|
||||
- REDIS_URL=redis://redis:6379
|
||||
- SECRET_KEY_BASE=${SECRET_KEY_BASE:-your-secret-key-base-hex-64}
|
||||
- LAGO_FRONT_URL=${FRONT_URL:-https://app.lago.dev}
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.api_http.rule=Host(`api.lago.dev`)"
|
||||
|
@ -42,6 +42,7 @@ services:
|
||||
- SECRET_KEY_BASE=${SECRET_KEY_BASE:-your-secret-key-base-hex-64}
|
||||
- RAILS_ENV=production
|
||||
- SENTRY_DSN=${SENTRY_DSN}
|
||||
- LAGO_FRONT_URL"${FRONT_URL:-http://localhost}
|
||||
ports:
|
||||
- ${API_PORT:-3000}:3000
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user