diff --git a/docker/environments/config.env b/docker/environments/config.env index 201d2f4..8dcf7d6 100644 --- a/docker/environments/config.env +++ b/docker/environments/config.env @@ -2,18 +2,19 @@ # Docker Environment Config #============================ -# ENVIROMENT +# SYSTEM VARIABLES SYS_ENV=local -# DIRECTORIES / VOLUMES / PATHS +# PATHS / DIRECTORIES / VOLUMES +PATH_CONTAINERS=./containers +PATH_ENVIRONMENTS=./environments +PATH_VOLUMES=./volumes + PATH_PROJECT_SOURCE=../src -PATH_NGINX=./containers/nginx -PATH_NGINX_CONFIGS=${PATH_NGINX}/conf.d/default.conf -PATH_ENV_CONFIGS=./environments -PATH_DATABASE=./volumes/mysql +PATH_CONFIGS_NGINX=${PATH_CONTAINERS}/nginx/conf.d/default.conf # DATABASE DB_DRIVER=mysql -DB_VERSION=8.0.30 DB_PORT=3306 -DB_VOLUME=${PATH_DATABASE}/${DB_DRIVER}_${DB_VERSION} \ No newline at end of file +DB_VERSION=5.7.22 +DB_VOLUME=${PATH_VOLUMES}/${DB_DRIVER}/${DB_DRIVER}_${DB_VERSION} \ No newline at end of file diff --git a/docker/environments/local.env b/docker/environments/local.env index 9fc0326..34b2774 100644 --- a/docker/environments/local.env +++ b/docker/environments/local.env @@ -6,4 +6,4 @@ MYSQL_DATABASE=db_docker_laravel MYSQL_USER=dbUserDev MYSQL_PASSWORD=dbUserDev123 -MYSQL_ROOT_PASSWORD=dbUserRoot123 \ No newline at end of file +MYSQL_ROOT_PASSWORD=dbUserRoot123 diff --git a/docker/environments/prod.env b/docker/environments/prod.env new file mode 100644 index 0000000..1826261 --- /dev/null +++ b/docker/environments/prod.env @@ -0,0 +1,9 @@ +# +# Docker Environment - Production +#============================ + +# DATABASE +MYSQL_DATABASE= +MYSQL_USER= +MYSQL_PASSWORD= +MYSQL_ROOT_PASSWORD= diff --git a/docker/environments/staging.env b/docker/environments/staging.env new file mode 100644 index 0000000..9dd001b --- /dev/null +++ b/docker/environments/staging.env @@ -0,0 +1,9 @@ +# +# Docker Environment - Staging +#============================ + +# DATABASE +MYSQL_DATABASE=db_docker_laravel +MYSQL_USER=dbUserDev +MYSQL_PASSWORD=dbUserDev123 +MYSQL_ROOT_PASSWORD=dbUserRoot123