chore(config): montages .env pour back-mini/ihm_client et .env.local front\n\n- docker-compose: ajout volumes .env pour coffre-back-mini.local et ihm_client.local\n- docker-compose: montage .env.local pour coffre-front.local\n- front: ajout .env.local (NEXT_PUBLIC_TARGET_ORIGIN)
This commit is contained in:
parent
2aca098677
commit
c6e0577d45
@ -242,6 +242,7 @@ services:
|
||||
- "3003:3003"
|
||||
volumes:
|
||||
- ./modules/ihm_client/logs:/var/log/ihm_client
|
||||
- ./modules/ihm_client/conf/.env:/app/.env:ro
|
||||
networks:
|
||||
4nk_network:
|
||||
ipv4_address: 172.20.0.18
|
||||
@ -257,8 +258,13 @@ services:
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 40s
|
||||
|
||||
|
||||
environment:
|
||||
- U32_MAX=4294967295
|
||||
- BASEURL="http://ihm-client.local"
|
||||
- BOOTSTRAPURL=["http://sdk-relay1.local:8090"]
|
||||
- STORAGEURL="http://sdk-storage.local/storage"
|
||||
- BLINDBITURL="http://blindbit.local:8000"
|
||||
- DEFAULTAMOUNT=1000
|
||||
|
||||
coffre-front.local:
|
||||
<<: *x-4nk-extra-hosts
|
||||
@ -267,24 +273,74 @@ services:
|
||||
hostname: coffre-front.local
|
||||
volumes:
|
||||
- ./projects/lecoffre/lecoffre-front/logs:/logs
|
||||
- ./projects/lecoffre/lecoffre-front/conf/.env.local:/leCoffre-front/.env.local:ro
|
||||
networks:
|
||||
4nk_network:
|
||||
ipv4_address: 172.20.0.32
|
||||
restart: unless-stopped
|
||||
|
||||
depends_on:
|
||||
- coffre-back-mini.local
|
||||
- ihm_client.local
|
||||
- sdk_signer.local
|
||||
environment:
|
||||
- NEXT_PUBLIC_4NK_URL=http://ihm-client.local:3003
|
||||
- NEXT_PUBLIC_FRONT_APP_HOST=http://0.0.0.0:3000
|
||||
- NEXT_PUBLIC_IDNOT_BASE_URL=https://qual-connexion.idnot.fr
|
||||
- NEXT_PUBLIC_IDNOT_AUTHORIZE_ENDPOINT=/IdPOAuth2/authorize/idnot_idp_v1
|
||||
- NEXT_PUBLIC_IDNOT_CLIENT_ID=4501646203F3EF67
|
||||
- NEXT_PUBLIC_BACK_API_PROTOCOL=http://
|
||||
- NEXT_PUBLIC_BACK_API_HOST=0.0.0.0
|
||||
- NEXT_PUBLIC_BACK_API_PORT=8080
|
||||
- NEXT_PUBLIC_BACK_API_ROOT_URL=/api
|
||||
- NEXT_PUBLIC_BACK_API_VERSION=/v1
|
||||
|
||||
coffre-back-mini.local:
|
||||
<<: *x-4nk-extra-hosts
|
||||
image: git.4nkweb.com/4nk/lecoffre-back-mini:dev
|
||||
container_name: coffre-back-mini.local
|
||||
hostname: coffre-back-mini.local
|
||||
volumes:
|
||||
- ./modules/lecoffre/lecoffre-back-mini/conf/.env:/app/.env:ro
|
||||
networks:
|
||||
4nk_network:
|
||||
ipv4_address: 172.20.0.33
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- OVH_APP_KEY=5ab0709bbb65ef26
|
||||
- OVH_APP_SECRET=de1fac1779d707d263a611a557cd5766
|
||||
- OVH_CONSUMER_KEY=5fe817829b8a9c780cfa2354f8312ece
|
||||
- OVH_SMS_SERVICE_NAME=sms-tt802880-1
|
||||
- SMS_FACTOR_TOKEN=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI4NzgzNiIsImlhdCI6MTcwMTMzOTY1Mi45NDUzOH0.GNoqLb5MDBWuniNlQjbr1PKolwxGqBZe_tf4IMObvHw
|
||||
- MAILCHIMP_API_KEY=md-VVfaml-ApIV4nsGgaJKl0A
|
||||
- MAILCHIMP_KEY=3fa54304bc766dfd0b8043a827b28a3a-us17
|
||||
- MAILCHIMP_LIST_ID=a48d9ad852
|
||||
- STRIPE_SECRET_KEY=sk_test_51OwKmMP5xh1u9BqSeFpqw0Yr15hHtFsh0pvRGaE0VERhlYtvw33ND1qiGA6Dy1DPmmV61B6BqIimlhuv7bwElhjF00PLQwD60n
|
||||
- STRIPE_WEBHOOK_SECRET=
|
||||
- STRIPE_STANDARD_SUBSCRIPTION_PRICE_ID=price_1P66fuP5xh1u9BqSHj0O6Uy3
|
||||
- STRIPE_STANDARD_ANNUAL_SUBSCRIPTION_PRICE_ID=price_1P9NsRP5xh1u9BqSFgkUDbQY
|
||||
- STRIPE_UNLIMITED_SUBSCRIPTION_PRICE_ID=price_1P66RqP5xh1u9BqSuUzkQNac
|
||||
- STRIPE_UNLIMITED_ANNUAL_SUBSCRIPTION_PRICE_ID=price_1P9NpKP5xh1u9BqSApFogvUB
|
||||
- APP_HOST=http://0.0.0.0
|
||||
- PORT=8080
|
||||
- NEXT_PUBLIC_4NK_URL=http://ihm-client.local
|
||||
- NEXT_PUBLIC_FRONT_APP_HOST=http://coffre-front.local:3000
|
||||
- NEXT_PUBLIC_IDNOT_BASE_URL=https://qual-connexion.idnot.fr
|
||||
- NEXT_PUBLIC_IDNOT_AUTHORIZE_ENDPOINT=/IdPOAuth2/authorize/idnot_idp_v1
|
||||
- NEXT_PUBLIC_IDNOT_CLIENT_ID=4501646203F3EF67
|
||||
- NEXT_PUBLIC_BACK_API_PROTOCOL=http
|
||||
- NEXT_PUBLIC_BACK_API_HOST=localhost
|
||||
- BACK_API_PORT=8080
|
||||
- BACK_API_ROOT_URL=/api
|
||||
- BACK_API_VERSION=/v1
|
||||
- IDNOT_ANNUARY_BASE_URL=https://qual-api.notaires.fr/annuaire
|
||||
- IDNOT_API_KEY=ba557f84-0bf6-4dbf-844f-df2767555e3e
|
||||
- DB_HOST=0.0.0.0
|
||||
- DB_PORT=5432
|
||||
- DB_NAME=miniback
|
||||
- DB_USER=miniback
|
||||
- DB_PASSWORD=minibackpassword
|
||||
- LOG_LEVEL="debug"
|
||||
|
||||
loki.local:
|
||||
<<: *x-4nk-extra-hosts
|
||||
|
1
projects/lecoffre/lecoffre-front/conf/.env.local
Normal file
1
projects/lecoffre/lecoffre-front/conf/.env.local
Normal file
@ -0,0 +1 @@
|
||||
NEXT_PUBLIC_TARGET_ORIGIN=http://coffre-back-mini.local
|
Loading…
x
Reference in New Issue
Block a user