chore(env): clean up .env.default and parameterize container names
- Remove 16 dead variables (OSIT_ENV, AE_API_ENV, AE_APP_ENV, AE_FLASK_APP_SRC, AE_DB_ROOT_PASSWORD, OSIT_WEB_HTTPS_PORT, 5x DOCKER_AE_*_EXTRA_HOST, CONTAINER_AE_API/APP/MARIADB/PMA) - Add missing vars: AE_NETWORK_NAME, CONTAINER_DOZZLE, AE_DOZZLE_PORT - Parameterize hardcoded container names in compose: CONTAINER_MARIADB, CONTAINER_PMA, CONTAINER_AE_OPS (all with :-default fallbacks) - Fix AE_DB_EXTERNAL_PORT default: 3306 → 32768 (avoids host MariaDB conflict) - Reorganize: AE_APP_GATEWAY_PORT moved next to AE_API_GATEWAY_PORT Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -64,7 +64,7 @@ services:
|
||||
mariadb:
|
||||
restart: always
|
||||
image: mariadb:10.11
|
||||
container_name: ae_mariadb_dev
|
||||
container_name: ${CONTAINER_MARIADB:-ae_mariadb_dev}
|
||||
profiles: ["database"]
|
||||
networks:
|
||||
- shared
|
||||
@@ -96,7 +96,7 @@ services:
|
||||
phpmyadmin:
|
||||
restart: always
|
||||
image: phpmyadmin/phpmyadmin
|
||||
container_name: ae_pma_dev
|
||||
container_name: ${CONTAINER_PMA:-ae_pma_dev}
|
||||
profiles: ["database"]
|
||||
networks:
|
||||
- shared
|
||||
@@ -210,7 +210,7 @@ services:
|
||||
|
||||
ae_ops:
|
||||
# ... (same as before) ...
|
||||
container_name: ae_ops_dev
|
||||
container_name: ${CONTAINER_AE_OPS:-ae_ops_dev}
|
||||
image: alpine:latest
|
||||
restart: always
|
||||
profiles: ["database"]
|
||||
|
||||
Reference in New Issue
Block a user