Comments (6)
No problem! So I've a setup with Docker-compose, where I put everything in my compose file and then replace image with build: "homer/"
and then place a folder in the same folder as the docker-compose.yml and in this homer folder I place the Dockerfile. After that only do docker-compose up -d and it should be running.
Here is an excerpt of my compose file:
docker-compose.yml
version: "2"
services:
homer:
container_name: "Homer"
build: homer/
ports:
- 8080:8080
volumes:
- '/home/theinze/dockerdata/homer/config/config.yml:/www/config.yml'
- '/home/theinze/dockerdata/homer/assets/:/www/assets'
restart: unless-stopped
from homer.
Yes you are right, there isn't an ARM Build, but I've build it by my own. Here is the Dockerfile I used:
FROM alpine:3.11
ENV USER darkhttpd
ENV GROUP darkhttpd
ENV GID 911
ENV UID 911
RUN addgroup -S ${GROUP} -g ${GID} && adduser -D -S -u ${UID} ${USER} ${GROUP} && apk add --no-cache -U darkhttpd git && git clone https://github.com/bastienwirtz/homer /www/
USER darkhttpd
ENTRYPOINT ["darkhttpd","/www/"]
But remember to build it on the RPi or else it's still not an ARM Image.
from homer.
@Tobix99 Thanks for the info, sorry, i am kind of a noob here. So, how should i use the docker file you mentioned?
Git clone this repo and replace the repo's dockerfile with this file? And then do what?
Also, after doing that, do i need to do docker-compose or docker create?
I'm sorry if i'm asking a lot but I have zero knowledge of docker xD
from homer.
@Tobix99 Thanks a lot, i'm still lost lol but i guess i'll figure it out soon!
from homer.
Ok, so where exactly is the problem? What do you don't understand?
Do you know how to use docker-compose?
from homer.
@Tobix99 I build an ARM compatible image in my own DockerHub until I could figure out how to do it using the project CI properly.
https://hub.docker.com/r/jesusmtnez/homer
You could use jesusmtnez/homer:latest
and it will work on your RPi. I am currently using it in my k3s cluster running on top of 5 RPi and it is working nicely.
from homer.
Related Issues (20)
- Traefik component widget
- png Logo not showing
- [Question] How to change text for own translations?
- The upper and lower intervals are too wide
- Add pull-to-refresh in PWA mode
- Include package.json in release zip
- Add ability to route relative to the current URL / browser location API
- Netlify Deploy Preview not working for incoming PRs
- Optional message HOT 1
- How to add an IP address as URL?
- Update docker HOT 4
- custom services HOT 1
- Kubernetes Operator HOT 2
- 431 Request Header Fields Too Large
- Custom service for Glances integration
- Subject: Feature Request: Authentication Integration with Casdoor for Single Sign-On (SSO)
- New Service Config Tool
- docker image does not recognise timezone appropriately
- Incorrect example for background-image in example config.yml file
- Clarify docs for config.stylesheet. There's strange behavior when given a string
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homer.