Skip to content

Add container to AIOs community containers to make configuration for them easier #8

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

Closed
szaimen opened this issue Oct 19, 2023 · 1 comment

Comments

@szaimen
Copy link
Contributor

szaimen commented Oct 19, 2023

Hi, I just wanted to mention that AiO has this now: https://github.com/nextcloud/all-in-one/tree/main/community-containers#how-to-add-containers. So the community could potentially add the facerecognition container as additional container there. Feel free to ping me if you should need help on this!


Regarding the json, I just leave this here as an example:

{
    "aio_services_v1": [
        {
            "container_name": "nextcloud-aio-facerecognition",
            "display_name": "Computing container for facerecognition",
            "documentation": "https://github.com/nextcloud/all-in-one/tree/main/community-containers/facerecognition",
            "image": "matiasdelellis/aio-facerecognition",
            "image_tag": "v1",
            "internal_port": "5000",
            "restart": "unless-stopped",
            "environment": [
                "TZ=%TIMEZONE%",
                "API_KEY=some-super-secret-api-key"
            ],
            "aio_variables": [
                "nextcloud_memory_limit=4096M"
            ],
            "nextcloud_exec_commands": [
                "php /var/www/html/occ app:install facerecognition",
                "php /var/www/html/occ config:system:set facerecognition.external_model_url --value nextcloud-aio-facerecognition:5000",
                "php /var/www/html/occ config:system:set facerecognition.external_model_api_key --value some-super-secret-api-key",
                "php /var/www/html/occ face:setup -m 5",
                "php /var/www/html/occ face:setup -M 4G",
                "php /var/www/html/occ occ face:background_job &"
            ]
        }
    ]
}
@matiasdelellis
Copy link
Owner

Thanks again. ❤️

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

2 participants