-
Notifications
You must be signed in to change notification settings - Fork 33
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
Docker container keeps exiting on a Le Potato running Ubuntu Server #39
Comments
Below is a copy of commands in terminal. Not sure if it helps.
|
gismc123
changed the title
Need Help to install it on a Le Potato running Ubuntu Server
Docker container keeps exiting on a Le Potato running Ubuntu Server
Nov 27, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Everyone,
I am really excited to build this on my home server. I run a home server on a Le Potato AML S905X-CC. I currently have Ubuntu server running on this SBC. I have tried to install this on my homeserver but I keep getting issues. The current issue I am facing is that the docker container keeps exiting when started. I am not sure what I am doing wrong.
Below are the steps I have done.
Step 1: Clone the Repository
git clone https://github.com/juriansluiman/groceri.es cd groceri.es
Step 2: Build the Docker Image
Create a backup copy of the Dockerfile and update the Dockerfile
Use an ARM-compatible base image instead of the x86_64 image:
Build the Docker image:
docker build -t groceri.es .
Step 3: Set Up Docker Volumes
For Database
docker volume create groceries-db docker run -d --name groceri.es -v groceries-db:/app/db -e SECRET_KEY='my-secret-here' -p 1012:80 groceri.es
For Image Uploads
docker volume create groceries-uploads docker run -d --name groceri.es_second -v groceries-db:/app/db -v groceries-uploads:/app/uploads -e SECRET_KEY='my-secret-here' -p 1012:80 groceri.es
Step 4: Run the Container
docker run -d --name groceri.es_app -p 1012:80 -e SECRET_KEY='my-secret-here' groceri.es
After completing these steps, I should be able to access the
groceri.es
application by navigating to http://192.168.1.94:1012 in my web browser. However, the container keeps exiting and when I navigate to the webpage, I get a this site can't be reached error.Can you please help, I am not sure what to do to fix this. Or will it not work on a SBC?
The text was updated successfully, but these errors were encountered: