canvas-lms
canvas-lms copied to clipboard
Web Canvas is not Working - Docker
Gm guys i am trying to install canvas in one compute engine.
Linux Uubunu 20.04 I install docker and docker-compose. Download the project. Run the the ./script/docker_dev_setup.sh I am not using dory.
All the services are runing fine. Name Command State Ports
canvas-lms_githook_installer_1 /bin/sh -c /tmp/script/ins ... Exit 0
canvas-lms_jobs_1 bundle exec script/delayed ... Up 80/tcp
canvas-lms_postgres_1 docker-entrypoint.sh postgres Up 5432/tcp
canvas-lms_redis_1 docker-entrypoint.sh redis ... Up 6379/tcp
canvas-lms_web_1 /tini -- /usr/src/entrypoint Up 80/tcp
canvas-lms_webpack_1 yarn run webpack Up 80/tcp
ubuntu@canvas-vm:/canvas-lms$
I am trying to acces By ip.. but no luck.. anyone can give some tips..
map 80:80
After rebuilding from scratch is working .. but i just able to access by ip how can i use dns.. To allow requests to xxxxxx add the following to your environment configuration: config.hosts << "xxxx
Any fix?
Found the solution. Add the line VIRTUAL_HOST=domain
to your .env file