Now with variable names for containers
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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: ./
|
||||
|
||||
Reference in New Issue
Block a user