docker dev changes and nginx dev fix
This commit is contained in:
@@ -25,7 +25,6 @@ POSTGRES_PASS=postgrespass
|
||||
# DEV SETTINGS
|
||||
APP_PORT=80
|
||||
API_PORT=80
|
||||
API_PROTOCOL=https://
|
||||
HTTP_PROTOCOL=https
|
||||
DOCKER_NETWORK=172.21.0.0/24
|
||||
DOCKER_NGINX_IP=172.21.0.20
|
||||
|
||||
@@ -209,7 +209,6 @@ services:
|
||||
CERT_PRIV_KEY: ${CERT_PRIV_KEY}
|
||||
APP_PORT: ${APP_PORT}
|
||||
API_PORT: ${API_PORT}
|
||||
API_PROTOCOL: ${API_PROTOCOL}
|
||||
DEV: 1
|
||||
networks:
|
||||
dev:
|
||||
|
||||
@@ -30,7 +30,7 @@ fi
|
||||
/bin/bash -c "sed -i 's/worker_connections.*/worker_connections ${WORKER_CONNECTIONS};/g' /etc/nginx/nginx.conf"
|
||||
|
||||
|
||||
if [ $DEV -eq 1 ]; then
|
||||
if [[ $DEV -eq 1 ]]; then
|
||||
API_NGINX="
|
||||
#Using variable to disable start checks
|
||||
set \$api http://tactical-backend:${API_PORT};
|
||||
|
||||
Reference in New Issue
Block a user