@@ -1,10 +1,17 @@
|
||||
# .env.template - Template of environment variables for docker-compose
|
||||
# Copy this file to `.env.production` or `.env.staging` and fill the secret values.
|
||||
# Copy this file to `.env` (local), `.env.staging`, or `.env.production` and fill the secret values.
|
||||
# Do NOT commit your `.env.*` files containing real secrets.
|
||||
|
||||
# Common
|
||||
ASPNETCORE_ENVIRONMENT=Development
|
||||
|
||||
# Web (myai-web container) - maps to web appsettings Site:Mode section
|
||||
# Controls the public site experience:
|
||||
# Normal - full site (default)
|
||||
# UnderConstruction - redirect visitors to /under-construction.html
|
||||
# Unavailable - redirect visitors to /site-unavailable.html (HTTP 503)
|
||||
Site__Mode=Normal
|
||||
|
||||
# API (main)
|
||||
ASPNETCORE_URLS=http://+:8080
|
||||
APP_ENVIRONMENT_NAME=myai-Development
|
||||
|
||||
@@ -260,6 +260,9 @@ services:
|
||||
- ASPNETCORE_ENVIRONMENT=${ASPNETCORE_ENVIRONMENT:-Production}
|
||||
- ASPNETCORE_URLS=${ASPNETCORE_URLS:-http://+:8080}
|
||||
- APP_ENVIRONMENT_NAME=${APP_ENVIRONMENT_NAME:-myai.production}
|
||||
|
||||
# Site: matches web appsettings Site section (Normal, UnderConstruction, Unavailable)
|
||||
- Site__Mode=${Site__Mode:-Normal}
|
||||
networks:
|
||||
- myai-network
|
||||
restart: unless-stopped
|
||||
|
||||
@@ -260,6 +260,9 @@ services:
|
||||
- ASPNETCORE_ENVIRONMENT=${ASPNETCORE_ENVIRONMENT:-Staging}
|
||||
- ASPNETCORE_URLS=${ASPNETCORE_URLS:-http://+:8080}
|
||||
- APP_ENVIRONMENT_NAME=${APP_ENVIRONMENT_NAME:-myai.staging}
|
||||
|
||||
# Site: matches web appsettings Site section (Normal, UnderConstruction, Unavailable)
|
||||
- Site__Mode=${Site__Mode:-Normal}
|
||||
networks:
|
||||
- myai-network
|
||||
restart: unless-stopped
|
||||
|
||||
@@ -289,6 +289,9 @@ services:
|
||||
- ASPNETCORE_ENVIRONMENT=${ASPNETCORE_ENVIRONMENT:-Development}
|
||||
- ASPNETCORE_URLS=${ASPNETCORE_URLS:-http://+:8080}
|
||||
- APP_ENVIRONMENT_NAME=${APP_ENVIRONMENT_NAME:-myai.local}
|
||||
|
||||
# Site: matches web appsettings Site section (Normal, UnderConstruction, Unavailable)
|
||||
- Site__Mode=${Site__Mode:-Normal}
|
||||
networks:
|
||||
- myai-network
|
||||
restart: unless-stopped
|
||||
|
||||
Reference in New Issue
Block a user