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

Can you add docker support for arm? #1

Closed
filipton opened this issue Feb 3, 2022 · 12 comments
Closed

Can you add docker support for arm? #1

filipton opened this issue Feb 3, 2022 · 12 comments
Assignees
Labels
enhancement New feature or request

Comments

@filipton
Copy link

filipton commented Feb 3, 2022

It will be really nice if you can make a docker image for arm processors.

@akashkj
Copy link

akashkj commented Feb 3, 2022

+1

@midarrlabs midarrlabs self-assigned this Feb 3, 2022
@trueChazza trueChazza assigned trueChazza and unassigned midarrlabs Feb 3, 2022
@trueChazza trueChazza added the enhancement New feature or request label Feb 3, 2022
@cgomesu
Copy link

cgomesu commented Feb 7, 2022

instead of just adding arm images, please consider building multi-arch images via buildx:

@trueChazza
Copy link
Member

instead of just adding arm images, please consider building multi-arch images via buildx:

Thanks 😊

@trueChazza
Copy link
Member

This is next up for me to work on. I’ll provide an update as soon as possible.

@filipton
Copy link
Author

filipton commented Feb 7, 2022

And I think there will be an issue with PostgreSQL image. (bitnami/postgresql isn't supported by arm)

@trueChazza
Copy link
Member

ghcr.io/midarrlabs/midarr-server:multi-arch

There is now a multi-arch tagged image.
If you want to give it a test run first, before I merge into latest

@trueChazza
Copy link
Member

And I think there will be an issue with PostgreSQL image. (bitnami/postgresql isn't supported by arm)

You'll need to configure an arm compatible image.

@trueChazza
Copy link
Member

ghcr.io/midarrlabs/midarr-server:multi-arch

Supports architectures:

  • linux/amd64
  • linux/arm64
  • linux/arm/v7

@cgomesu
Copy link

cgomesu commented Feb 8, 2022

ghcr.io/midarrlabs/midarr-server:multi-arch

Supports architectures:

* linux/amd64

* linux/arm64

* linux/arm/v7

I'll give it a try over the weekend.

@filipton
Copy link
Author

filipton commented Feb 8, 2022

I tried, and it's working!

My docker-compose file (with other postgres image):

version: '2.1'

volumes:
  database-data:

services:
  midarr:
    image: ghcr.io/midarrlabs/midarr-server:multi-arch
    ports:
      - 4000:4000
    volumes:
      - /mnt/gdrive/Movies:/movies
      - /mnt/gdrive/tvseries:/shows
    environment:
      - DB_USERNAME=my_user
      - DB_PASSWORD=my_password
      - DB_DATABASE=my_database
      - DB_HOSTNAME=postgresql
      - SETUP_ADMIN_EMAIL=admin@email.com
      - SETUP_ADMIN_NAME=admin
      - SETUP_ADMIN_PASSWORD=passwordpassword
    depends_on:
      postgresql:
        condition: service_healthy
  postgresql:
    image: postgres
    volumes:
      - database-data:/var/lib/postgresql/data
    environment:
      - POSTGRES_USER=my_user
      - POSTGRES_PASSWORD=my_password
      - POSTGRES_DB=my_database
    healthcheck:
      test: "exit 0"

@trueChazza
Copy link
Member

Thanks for testing this out.

I'll get this merged into latest and close the issue.

@midarrlabs
Copy link
Collaborator

🎉 This issue has been resolved in version 0.37.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

No branches or pull requests

4 participants