diff --git a/emqx-docker b/emqx-docker new file mode 160000 index 0000000..554e4b1 --- /dev/null +++ b/emqx-docker @@ -0,0 +1 @@ +Subproject commit 554e4b18725da24a974f37d810675126f30c1e1d diff --git a/makefile b/makefile index 58fae9f..39bf0ff 100644 --- a/makefile +++ b/makefile @@ -14,4 +14,12 @@ pull: @echo "Pulling the project..." git pull + +deploy-apps: pull + @echo "Deploying the apps stack..." + loadenvs ./swarm/.env && docker stack deploy --compose-file ./swarm/apps.yml apps + +deploy-test: pull + @echo "Deploying the apps stack..." + loadenvs ./swarm/.env && docker stack deploy --compose-file ./swarm/thelounge.yml thelounge # git submodule update --init --recursive \ No newline at end of file diff --git a/swarm/thelounge.yml b/swarm/thelounge.yml index 8f30045..e5c3024 100644 --- a/swarm/thelounge.yml +++ b/swarm/thelounge.yml @@ -6,9 +6,9 @@ services: networks: - traefik-public deploy: - placement: - constraints: - - node.labels.thelounge.thelounge-data == true + # placement: + # constraints: + # - node.labels.thelounge.thelounge-data == true labels: - traefik.enable=true - traefik.docker.network=traefik-public