Now with variable names for containers
This commit is contained in:
@@ -1,5 +1,11 @@
|
|||||||
# One Sky IT's Aether Framework and System
|
# 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=development
|
||||||
# OSIT_ENV=production
|
# OSIT_ENV=production
|
||||||
# OSIT_ENV=testing
|
# OSIT_ENV=testing
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ version: "3.9"
|
|||||||
services:
|
services:
|
||||||
web:
|
web:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
container_name: ae_web_dev
|
container_name: ${CONTAINER_WEB}
|
||||||
build:
|
build:
|
||||||
# context: ./builds
|
# context: ./builds
|
||||||
context: ./
|
context: ./
|
||||||
@@ -138,7 +138,7 @@ services:
|
|||||||
# # - local-net
|
# # - local-net
|
||||||
php7:
|
php7:
|
||||||
restart: always
|
restart: always
|
||||||
container_name: ae_php7_dev
|
container_name: ${CONTAINER_PHP7}
|
||||||
# image: php:fpm
|
# image: php:fpm
|
||||||
build:
|
build:
|
||||||
context: ./
|
context: ./
|
||||||
@@ -225,7 +225,7 @@ services:
|
|||||||
|
|
||||||
redis:
|
redis:
|
||||||
restart: always
|
restart: always
|
||||||
container_name: ae_redis_dev
|
container_name: ${CONTAINER_REDIS}
|
||||||
image: redis
|
image: redis
|
||||||
ports:
|
ports:
|
||||||
# host to image
|
# host to image
|
||||||
@@ -234,7 +234,7 @@ services:
|
|||||||
|
|
||||||
aether_api_gunicorn:
|
aether_api_gunicorn:
|
||||||
restart: always
|
restart: always
|
||||||
container_name: ae_api_dev
|
container_name: ${CONTAINER_AE_API}
|
||||||
build:
|
build:
|
||||||
# context: ./builds
|
# context: ./builds
|
||||||
context: ./
|
context: ./
|
||||||
@@ -314,7 +314,7 @@ services:
|
|||||||
|
|
||||||
aether_app_gunicorn:
|
aether_app_gunicorn:
|
||||||
restart: always
|
restart: always
|
||||||
container_name: ae_app_dev
|
container_name: ${CONTAINER_AE_APP}
|
||||||
build:
|
build:
|
||||||
# context: ./builds
|
# context: ./builds
|
||||||
context: ./
|
context: ./
|
||||||
|
|||||||
Reference in New Issue
Block a user