File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed
Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -237,6 +237,10 @@ docker_dev_rebuild_admin:
237237docker_dev_rebuild_api :
238238 docker-compose -f docker-compose-dev.yml up --force-recreate --no-deps -d --build $(API_NAME )
239239
240+ # Deploy osctrl in a single server using the provision.sh script
241+ provision_dev :
242+ ./deploy/provision.sh -m prod -s /home/$(DEV_USER ) /osctrl -t self -p all --nginx --postgres -E -R --tls-hostname " $( DEV_IP) " --admin-hostname " $( DEV_IP) " --api-hostname " $( DEV_IP) " -X admin
243+
240244# Auto-format and simplify the code
241245GOFMT_ARGS = -l -w -s
242246gofmt-tls :
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -144,7 +144,8 @@ API_CONF="$API_COMPONENT.json"
144144DB_CONF=" db.json"
145145CACHE_CONF=" redis.json"
146146JWT_CONF=" jwt.json"
147- LOGGER_CONF=" logger.json"
147+ LOGGER_CONF_ADMIN=" logger_admin.json"
148+ LOGGER_CONF_TLS=" logger_tls.json"
148149SERVICE_TEMPLATE=" service.json"
149150DB_TEMPLATE=" db.json"
150151CACHE_TEMPLATE=" redis.json"
672673 configuration_cache " $SOURCE_PATH /deploy/config/$CACHE_TEMPLATE " " $DEST_PATH /config/$CACHE_CONF " " $_CACHE_HOST " " $_CACHE_PORT " " $_CACHE_PASS " " sudo"
673674
674675 # Prepare DB logger configuration for services
675- sudo cp " $DEST_PATH /config/$DB_CONF " " $DEST_PATH /config/$LOGGER_CONF "
676+ sudo cp " $DEST_PATH /config/$DB_CONF " " $DEST_PATH /config/$LOGGER_CONF_ADMIN "
677+ sudo cp " $DEST_PATH /config/$DB_CONF " " $DEST_PATH /config/$LOGGER_CONF_TLS "
676678
677679 # JWT configuration
678680 cat " $SOURCE_PATH /deploy/config/$JWT_TEMPLATE " | sed " s|_JWT_SECRET|$_JWT_SECRET |g" | sudo tee " $DEST_PATH /config/$JWT_CONF "
You can’t perform that action at this time.
0 commit comments