fastapi / full-stack-fastapi-template

Full stack, modern web application template. Using FastAPI, React, SQLModel, PostgreSQL, Docker, GitHub Actions, automatic HTTPS and more.
MIT License
26.27k stars 4.6k forks source link

scripts/build.sh: line 6: TAG: Variable not set #338

Open luquitared opened 3 years ago

luquitared commented 3 years ago

Hi,

I am trying to deploy with docker swarm.

I've done all steps in the https://dockerswarm.rocks/ but am stuck on running the build.sh file.

I've set all my env files, including doing export TAG=mytag

but when running the sh file, bash cannot find the TAG env var and I receive this error: scripts/build.sh: line 6: TAG: Variable not set

Any thoughts? Thanks :)

Migueacalle98 commented 3 years ago

https://github.com/tiangolo/full-stack-fastapi-postgresql/issues/322, similar issue, this might help

Hi,

I am trying to deploy with docker swarm.

I've done all steps in the https://dockerswarm.rocks/ but am stuck on running the build.sh file.

I've set all my env files, including doing export TAG=mytag

but when running the sh file, bash cannot find the TAG env var and I receive this error: scripts/build.sh: line 6: TAG: Variable not set

Any thoughts? Thanks :)