Giter Club home page Giter Club logo

Comments (6)

Tobix99 avatar Tobix99 commented on May 16, 2024 1

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.

Tobix99 avatar Tobix99 commented on May 16, 2024

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.

kushpvo avatar kushpvo commented on May 16, 2024

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

kushpvo avatar kushpvo commented on May 16, 2024

@Tobix99 Thanks a lot, i'm still lost lol but i guess i'll figure it out soon!

from homer.

Tobix99 avatar Tobix99 commented on May 16, 2024

Ok, so where exactly is the problem? What do you don't understand?

Do you know how to use docker-compose?

from homer.

JesusMtnez avatar JesusMtnez commented on May 16, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.