From c735be0c63104e6158c4c704deed1083e4563712 Mon Sep 17 00:00:00 2001 From: "guilhem.carron" <gcarron@grandlyon.com> Date: Mon, 9 Aug 2021 15:46:20 +0200 Subject: [PATCH] Add gitlab images + env template --- .gitignore | 1 + docker-compose.yml | 4 ++-- env-template | 23 +++++++++++++++++++++++ 3 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 env-template diff --git a/.gitignore b/.gitignore index 4d29575d..8692cf66 100644 --- a/.gitignore +++ b/.gitignore @@ -13,6 +13,7 @@ # misc .DS_Store +.env .env.local .env.development.local .env.test.local diff --git a/docker-compose.yml b/docker-compose.yml index acf1773f..758d10b9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,7 @@ version: '3.7' services: nginx: - image: test + image: registry.forge.grandlyon.com/web-et-numerique/llle_project/backoffice-client:dev restart: unless-stopped ports: - 443:443 @@ -29,7 +29,7 @@ services: retries: 60 backend: - image: back + image: registry.forge.grandlyon.com/web-et-numerique/llle_project/backoffice-server:dev networks: backoffice: depends_on: diff --git a/env-template b/env-template new file mode 100644 index 00000000..e97c5f0b --- /dev/null +++ b/env-template @@ -0,0 +1,23 @@ +NODE_TLS_REJECT_UNAUTHORIZED = '0' +HTTPS=true +SSL_CRT_FILE=cert.pem +SSL_KEY_FILE=key.pem +# Common +HOSTNAME= +ADMIN_ROLE= +DEBUG_MODE= +HTTPS_PORT= + +# Needed to user OAuth2 authentication : +REDIRECT_URL= +CLIENT_ID= +CLIENT_SECRET= +AUTH_URL= +TOKEN_URL= +USERINFO_URL= +LOGOUT_URL= + +# Access to the database +DATABASE_USER= +DATABASE_PASSWORD= +DATABASE_NAME= \ No newline at end of file -- GitLab