canvas-lms icon indicating copy to clipboard operation
canvas-lms copied to clipboard

Web Canvas is not Working - Docker

Open marcelosauter opened this issue 2 years ago • 4 comments

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..

marcelosauter avatar Nov 30 '22 19:11 marcelosauter

map 80:80

huangdengpan avatar Dec 01 '22 14:12 huangdengpan

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

marcelosauter avatar Dec 01 '22 14:12 marcelosauter

Any fix?

Mcrich23 avatar Jan 23 '24 04:01 Mcrich23

Found the solution. Add the line VIRTUAL_HOST=domain to your .env file

Mcrich23 avatar Jan 23 '24 04:01 Mcrich23