instructure / canvas-lms

The open LMS by Instructure, Inc.
https://github.com/instructure/canvas-lms/wiki
GNU Affero General Public License v3.0
5.58k stars 2.48k forks source link

Web Canvas is not Working - Docker #2127

Open marcelosauter opened 1 year ago

marcelosauter commented 1 year ago

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

huangdengpan commented 1 year ago

map 80:80

marcelosauter commented 1 year ago

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

Mcrich23 commented 8 months ago

Any fix?

Mcrich23 commented 8 months ago

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