-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nginx return 404 #48
Comments
Why was this closed? I have the same issue currently, as well as postgres yelling at me that |
I have the same issue here too |
Also experiencing the same issue. Some further explanation to get up and running in the readme for docker newbies could be helpful as well. |
I'm still unable to reproduce this. https://github.com/timkelty/craftcms-docker-compose note: the |
I managed to get this up and running by initialising a craft installation as usual, then adding the docker-compose yaml and Dockerfile as suggested in this readme. The |
you will also need to exec into the shell once its up and running with |
Yes, or you can do it via the web interface (will prompt you on first visit to /admin) |
Good call, I'll update the example compose file |
I'm also getting 404's. Maybe I am misunderstanding the instructions? In new directory: using the I copied the .env.example (although I don't think it is used in the docker compose file), and I run I get:
When I check the container, there's nothing in the
|
@wivaku These docker images only provide the environment required to run Craft, not any of the actual application files. If you don't have an existing Craft app, you can start one via There more in-depth guides here, but those focus on using DDEV for local development. |
ah, ok. Thanks. |
Hi, I have created a local project and was able to build a image with dependencies. But when i use this image to run container on ECS, the dependent files are missing and it gives me 404 error. Anyone able to run craftcms on ECS? |
@nagarjuna-jammula Hmmm, yes we run them on ECS regularly… |
Description
When I try to connect to localhost:8080, nginx is returning me a 404.
Here are some relevant docker-compose logs :
Steps to reproduce
Just execute
docker-compose up
on suggesteddocker-compose.yml
.Additional info
image: craftcms/nginx:8.0-dev
image: craftcms/cli:8.0-dev
image: postgres:13-alpine
image: redis:5-alpine
Docker-compose file : 3.6
docker: 20.10.8
docker-compose: 1.29.2
Debian : Linux debian 5.10.0-0.bpo.8-amd64
Thanks for your help.
The text was updated successfully, but these errors were encountered: