Closed crypticviper closed 1 year ago
Phoning a friend, @jaydrogers does the base containers supper arm 7?
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
unfortunately, it does not seem to exist a mariadb armv7, so this fails anyway
unfortunately, it does not seem to exist a mariadb armv7, so this fails anyway
I use “ yobasystems/alpine-mariadb” which has armv7 support and works ok for me.
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
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!
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
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