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 arm64? #48

Closed
ha1fdan opened this issue Mar 15, 2022 · 5 comments
Closed

Support for arm64? #48

ha1fdan opened this issue Mar 15, 2022 · 5 comments

Comments

@ha1fdan
Copy link

ha1fdan commented Mar 15, 2022

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested.

Can you somehow add support for arm64?

@zhubby
Copy link

zhubby commented Jul 5, 2023

need arm64

@mohamedtaee
Copy link

@ha1fdan @zhubby how are you trying to run this? It should build based on your host platform, but you can probably force the platform in the docker-compose.yml like the snippet below.

version: '3'
services:
  flask-nginx-ui:
    container_name: flask-nginx-ui
    build:
      context: .
      dockerfile: Dockerfile
    image: flask-nginx-ui:latest
    platform: linux/arm64
    ports:
      - "8080:8080"
    volumes:
      - nginx:/etc/nginx

  nginx:
    container_name: nginx
    image: nginx:alpine3.19
    platform: linux/arm64
    ports:
      - "443:443"
    volumes:
      - nginx:/etc/nginx

volumes:
  nginx:

Also, feel free to follow my fork and I can help: https://github.com/mohamedtaee/nginx-ui

@ha1fdan
Copy link
Author

ha1fdan commented May 25, 2024

Hi @mohamedtaee, can't remember. But I just switched to using conf files.

@mohamedtaee
Copy link

@ha1fdan do you still use the nginx-ui flask app?

@ha1fdan
Copy link
Author

ha1fdan commented May 25, 2024

@mohamedtaee No I don't.

@ha1fdan ha1fdan closed this as not planned Won't fix, can't repro, duplicate, stale May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants