From 774d5b4c538d93889bf743b6cd7d01a85f8715e6 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Fri, 25 Feb 2022 17:25:10 +0100 Subject: feat: use Docker in production (#12) * build: add experimental feature outputStandalone With this option, Next.js can create a standalone folder with the necessary files for a production deployment. It will be useful for Docker deployment. * chore: add Docker configuration * docs: update README with Docker instructions --- .env.example | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.env.example') diff --git a/.env.example b/.env.example index 6217f82..479f9b1 100644 --- a/.env.example +++ b/.env.example @@ -14,6 +14,10 @@ NEXT_PUBLIC_ACKEE_DOMAIN="www.ackeeDomain.com" NEXT_PUBLIC_ACKEE_FILENAME="tracker.js" NEXT_PUBLIC_ACKEE_SITE_ID="your-id-string" +# Docker configuration +APP_DOCKER_PORT_PROD=3000 +APP_DOCKER_PORT_DEV=3200 + # Use this only in development mode. It prevents "unable to verify the first # certificate" error when using a local domain with mkcert certificate for # backend. -- cgit v1.2.3