diff --git a/.github/workflows/deploy-manual.yml b/.github/workflows/deploy-manual.yml index c3619b0..9bca5f2 100644 --- a/.github/workflows/deploy-manual.yml +++ b/.github/workflows/deploy-manual.yml @@ -17,7 +17,7 @@ jobs: script_stop: true script: | echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin - cd bingusboingus + cd energy-householder docker compose pull docker compose up -d diff --git a/deploy.sh b/deploy.sh new file mode 100644 index 0000000..7200b33 --- /dev/null +++ b/deploy.sh @@ -0,0 +1,10 @@ +#!/bin/bash +cat << EOF +****************************** +* ENERGY / PROJECT LAUNCHER * +****************************** + +EOF +docker login ghcr.io -u $ --password-stdin +docker compose pull +docker compose -f docker-compose.yml up -d $@ diff --git a/infra/mongo/.env.sample b/infra/mongo/.env.sample index e71a914..1368deb 100644 --- a/infra/mongo/.env.sample +++ b/infra/mongo/.env.sample @@ -1,5 +1,5 @@ -MONGO_INITDB_ROOT_USERNAME=energy-householder -MONGO_INITDB_ROOT_PASSWORD=energy-householder -MONGO_USER=energy-householder -MONGO_PASSWORD=energy-householder -MONGO_INITDB_DATABASE=modbus-readings +MONGO_INITDB_ROOT_USERNAME= +MONGO_INITDB_ROOT_PASSWORD= +MONGO_USER= +MONGO_PASSWORD= +MONGO_INITDB_DATABASE=