From 2b5af5146d7c22eac4a5150a038a05620ec5b8a3 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Fri, 4 Mar 2022 19:07:57 +0100 Subject: build(docker): make Docker deployement compatible with Docker Swarm I also added a custom script to deploy the services with Docker Swarm. Without it, Docker cannot read the `.env` file. Since I'm using a variable to define the registry, the script is required. --- .env.example | 1 + 1 file changed, 1 insertion(+) (limited to '.env.example') diff --git a/.env.example b/.env.example index 4d98551..dbfb664 100644 --- a/.env.example +++ b/.env.example @@ -24,6 +24,7 @@ NEXT_PUBLIC_GRAPHQL_API="https://$APP_BACKEND_DOMAIN$APP_GRAPHQL_ENDPOINT" #NEXT_PUBLIC_STAGING_GRAPHQL_API="https://$APP_STAGING_BACKEND_DOMAIN$APP_STAGING_GRAPHQL_ENDPOINT" # Common +APP_DOCKER_REGISTRY_DOMAIN="127.0.0.1:5000" APP_AUTHOR_NAME="Your Name" APP_AUTHOR_EMAIL="your@email.com" APP_AUTHOR_URL="https://www.yourWebsite.com/" -- cgit v1.2.3