Skip to content
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

5 add dockerfile to easy deploy website #13

Merged
merged 3 commits into from
Apr 29, 2024

Conversation

ofaurax
Copy link
Owner

@ofaurax ofaurax commented Apr 10, 2024

Fix #5

@ofaurax ofaurax linked an issue Apr 10, 2024 that may be closed by this pull request
@ofaurax ofaurax marked this pull request as ready for review April 10, 2024 09:40
@ofaurax ofaurax force-pushed the 5-add-dockerfile-to-easy-deploy-website branch from b47163d to d41d847 Compare April 10, 2024 12:21
@kimicol
Copy link
Collaborator

kimicol commented Apr 21, 2024

I get the following error when running docker image :

$ docker run --name arvin2 --network host -it arvin2
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 192.168.65.3. Set the 'ServerName' directive globally to suppress this message
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 192.168.65.3. Set the 'ServerName' directive globally to suppress this message

The webpage is not available at http://localhost:1912.
I quickly searched on internet a way to fix it but nothing worked.

Running on :

  • Windows 11
  • WSL 2, Ubuntu
  • Docker 4.28.0

@kimicol
Copy link
Collaborator

kimicol commented Apr 27, 2024

Complete output of docker running :

$ docker run --rm --name arvin2 --network host -it arvin2
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 192.168.65.3. Set the 'ServerName' directive globally to suppress this message
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 192.168.65.3. Set the 'ServerName' directive globally to suppress this message
[Sat Apr 27 14:32:25.284401 2024] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.54 (Debian) PHP/7.4.33 configured -- resuming normal operations
[Sat Apr 27 14:32:25.284441 2024] [core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND'

Output in firefox :
image

@ofaurax
Copy link
Owner Author

ofaurax commented Apr 28, 2024

Did you try to access http://192.168.65.3:1912 ?

@ofaurax
Copy link
Owner Author

ofaurax commented Apr 28, 2024

Do you try to access it from windows or Ubuntu? It should be accessible from the host OS running docker

@kimicol
Copy link
Collaborator

kimicol commented Apr 28, 2024

Did you try to access http://192.168.65.3:1912 ?

Yes, didn't work either.

Do you try to access it from windows or Ubuntu? It should be accessible from the host OS running docker

It works on my Debian computer, I've just tried it.

The problem should come from my windows laptop which I tried first. Maybe there is an error with WSL. I will search deeper on my configuration but it shouldn't imply to modify the Dockerfile. However maybe the commands given in README.md shall be adapted.

@ofaurax ofaurax force-pushed the 5-add-dockerfile-to-easy-deploy-website branch from 44862bc to 89ffef2 Compare April 29, 2024 07:30
@ofaurax ofaurax merged commit 8895564 into master Apr 29, 2024
4 checks passed
@ofaurax ofaurax deleted the 5-add-dockerfile-to-easy-deploy-website branch April 29, 2024 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add dockerfile to easy deploy website
2 participants