Merge branch 'main' of https://git.targo.ca/Targo/targo_frontend into release/nicolas/v1.2
This commit is contained in:
commit
871b54a2c5
|
|
@ -1,26 +1,37 @@
|
|||
---
|
||||
name: app-targo
|
||||
services:
|
||||
backend:
|
||||
build:
|
||||
context: https://git.targo.ca/Targo/targo_backend.git
|
||||
args:
|
||||
- CALLBACK_URL=http://${SERVER_IP}:${BACKEND_PUBLIC_PORT}/auth/callback
|
||||
backend:
|
||||
image: git.targo.ca/targo/targo-backend-staging:latest
|
||||
environment:
|
||||
- REDIRECT_URL_DEV=http://${SERVER_IP}:${FRONTEND_PUBLIC_PORT}/#/login-success
|
||||
AUTHENTIK_ISSUER: "${OIDC_ISSUER}"
|
||||
AUTHENTIK_CLIENT_ID: "${OIDC_CLIENT_ID}"
|
||||
AUTHENTIK_CLIENT_SECRET: "${OIDC_CLIENT_SECRET}"
|
||||
AUTHENTIK_AUTH_URL: "${OIDC_AUTH_URL}"
|
||||
AUTHENTIK_TOKEN_URL: "${OIDC_TOKEN_URL}"
|
||||
AUTHENTIK_USERINFO_URL: "${OIDC_USERINFO_URL}"
|
||||
AUTHENTIK_CALLBACK_URL: "${CALLBACK_URL}"
|
||||
REDIRECT_URL_DEV: "https://${URL}/#/login-success"
|
||||
DATABASE_URL: "${DATABASE_URL}"
|
||||
|
||||
### A ENLEVER SI CE N'EST PAS DANS PORTAINER ###
|
||||
env_file:
|
||||
- stack.env
|
||||
#######
|
||||
|
||||
ports:
|
||||
- ${BACKEND_PUBLIC_PORT}:3000
|
||||
|
||||
frontend:
|
||||
build:
|
||||
context: https://git.targo.ca/Targo/targo_frontend.git
|
||||
args:
|
||||
- BACKEND_URL=http://${SERVER_IP}:${BACKEND_PUBLIC_PORT}/
|
||||
volumes:
|
||||
- .:/app
|
||||
image: git.targo.ca/targo/targo-frontend-staging:latest
|
||||
env_file:
|
||||
- stack.env
|
||||
environment:
|
||||
# Where your built files live in the container
|
||||
ASSET_DIR: /usr/share/nginx/html
|
||||
# Prefix used for placeholder detection
|
||||
APP_PREFIX: PREFIX_
|
||||
# Real values for your frontend to consume
|
||||
PREFIX_BACKEND_URL: "https://be-staging.app.targo.ca/"
|
||||
ports:
|
||||
- ${FRONTEND_PUBLIC_PORT}:80
|
||||
Loading…
Reference in New Issue
Block a user