services: web: build: context: . args: # Compose substitutes these from its own env (see the --env-file note # in README.md's Docker section) — NOT from env_file below, which only # affects the running container, not the build. NEXT_PUBLIC_GOOYAL_ACCOUNTS_BASE_URL: ${NEXT_PUBLIC_GOOYAL_ACCOUNTS_BASE_URL} NEXT_PUBLIC_GOOYAL_CLIENT_ID: ${NEXT_PUBLIC_GOOYAL_CLIENT_ID} NEXT_PUBLIC_GOOYAL_CLIENT_SECRET: ${NEXT_PUBLIC_GOOYAL_CLIENT_SECRET} NEXT_PUBLIC_GOOYAL_OAUTH_SCOPE: ${NEXT_PUBLIC_GOOYAL_OAUTH_SCOPE} env_file: - .env.local ports: - "3000:3000" restart: unless-stopped