Now with variable names for containers

This commit is contained in:
Scott Idem
2023-06-13 17:26:00 -04:00
parent 37c346efd7
commit 3a5024a2d0
2 changed files with 11 additions and 5 deletions

View File

@@ -1,5 +1,11 @@
# One Sky IT's Aether Framework and System
CONTAINER_WEB=ae_web_default
CONTAINER_AE_API=ae_api_default
CONTAINER_AE_APP=ae_app_default
CONTAINER_PHP7=ae_php7_default
CONTAINER_REDIS=ae_redis_default
OSIT_ENV=development
# OSIT_ENV=production
# OSIT_ENV=testing

View File

@@ -3,7 +3,7 @@ version: "3.9"
services:
web:
restart: unless-stopped
container_name: ae_web_dev
container_name: ${CONTAINER_WEB}
build:
# context: ./builds
context: ./
@@ -138,7 +138,7 @@ services:
# # - local-net
php7:
restart: always
container_name: ae_php7_dev
container_name: ${CONTAINER_PHP7}
# image: php:fpm
build:
context: ./
@@ -225,7 +225,7 @@ services:
redis:
restart: always
container_name: ae_redis_dev
container_name: ${CONTAINER_REDIS}
image: redis
ports:
# host to image
@@ -234,7 +234,7 @@ services:
aether_api_gunicorn:
restart: always
container_name: ae_api_dev
container_name: ${CONTAINER_AE_API}
build:
# context: ./builds
context: ./
@@ -314,7 +314,7 @@ services:
aether_app_gunicorn:
restart: always
container_name: ae_app_dev
container_name: ${CONTAINER_AE_APP}
build:
# context: ./builds
context: ./