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

Support for arm v7 #120

Closed
crypticviper opened this issue Nov 3, 2022 · 7 comments · Fixed by #123
Closed

Support for arm v7 #120

crypticviper opened this issue Nov 3, 2022 · 7 comments · Fixed by #123
Assignees
Labels
🎉 feature New feature or request

Comments

@crypticviper
Copy link

Is your feature request related to a problem? Please describe.
I want to be able to run this as docker container on raspberry pi (arm v7).

Describe the solution you'd like
Is there any plan to support this in the near future?

Additional context
NA

@alexjustesen
Copy link
Owner

Phoning a friend, @jaydrogers does the base containers supper arm 7?

@jaydrogers
Copy link
Contributor

I think it should?

See my platforms here: https://github.com/serversideup/docker-php/blob/main/.github/workflows/workflow-docker-publish.yml#L64-L67

Here are all the options:

https://github.com/docker-library/official-images#architectures-other-than-amd64

@fragolinux
Copy link

unfortunately, it does not seem to exist a mariadb armv7, so this fails anyway
image

@crypticviper
Copy link
Author

unfortunately, it does not seem to exist a mariadb armv7, so this fails anyway
image

I use “ yobasystems/alpine-mariadb” which has armv7 support and works ok for me.

@fragolinux
Copy link

solved using this docker-compose.yml:

version: '3.3'
services:
    speedtest-tracker:
        container_name: speedtest-tracker
        ports:
            - '8765:80'
        environment:
            - PUID=1000
            - PGID=1000
            - DB_CONNECTION=mysql
            - DB_HOST=db
            - DB_PORT=3306
            - DB_DATABASE=speedtest_tracker
            - DB_USERNAME=speedy
            - DB_PASSWORD=password
            - TZ=Europe/Rome
        volumes:
            - /etc/localtime:/etc/localtime:ro
            - ./data/speedtest:/config
            - ./data/speedtest/web:/etc/ssl/web
        image: 'ghcr.io/alexjustesen/speedtest-tracker'
        restart: unless-stopped
        depends_on:
            - db
    db:
        image: linuxserver/mariadb:arm32v7-10.6.13
        restart: unless-stopped
        environment:
            - PUID=1000
            - PGID=1000
            - TZ=Europe/Rome
            - MYSQL_ROOT_PASSWORD=root_password
            - MYSQL_DATABASE=speedtest_tracker
            - MYSQL_USER=speedy
            - MYSQL_PASSWORD=password
        volumes:
            - ./data/mysql:/config

@fragolinux
Copy link

fragolinux commented Nov 12, 2023

I use “ yobasystems/alpine-mariadb” which has armv7 support and works ok for me.

sorry, just saw this, i was searching for a solution myself and came to the one in my previous post, maybe better add an armv7 compatible docker-compose.yml to your repo, then?
thanks!

@fragolinux
Copy link

fragolinux commented Nov 12, 2023

i just reduced everything to this, as it's enough for me:

version: '3.3'
services:
    speedtest-tracker:
        container_name: speedtest-tracker
        ports:
            - 8765:80
        environment:
            - PUID=1000
            - PGID=1000
            - DB_CONNECTION=sqlite
            - DB_HOST=/config/database.sqlite
            - TZ=Europe/Rome
            - APP_KEY='base64:IxMvTgeVyU9vD2RnyJ70E7OZdkQznXDoqQQVl/t31sg='
            - SSL_MODE=off
        volumes:
            - /etc/localtime:/etc/localtime:ro
            - ./data:/config
        image: ghcr.io/alexjustesen/speedtest-tracker
        restart: unless-stopped

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🎉 feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants