Closed paul121 closed 4 years ago
It's worth noting tiangolo/full-stack-fastapi-couchbase#13, the VUE_APP_DOMAIN_PROD
cannot be set by the DOMAIN
env variable. This might make it harder or impossible to host an aggregator image on Docker hub, which would greatly decrease the build and deploy time.
This is no longer a bug - we've chosen to drop the docker stack
and traefik
configuration and go with docker-compose
with nginx
running a reverse proxy. Setting this up is going much better, and will hopefully allow for easier deployments of the Aggregator.
I wanted to document some issues I'm having with deployment as described in the docs.
Following the instructions to setup a docker swarm goes well, and everything appears to be running, except that I cannot connect to the
proxy
with the specifieddomain
(specifically localhost right now in my testing)I get the following log in the
proxy
container with logging set toDEBUG
I believe this might be an issue with the Traefik configuration. Notably we are using v1.7 but v2.1 is out with some changes. It seems like it is a general improvement, but some issues with 2.0 are described here: https://github.com/tiangolo/dockerswarm.rocks/issues/28
We are also considering just using
docker-compose
for simpler deployment.