Tried installing using “App Services” on Azure, but keep getting
Application Error
If you are the application administrator, you can access the diagnostic resources.
-
I tried both nginx and the non-nginx docker-compose.yml files
-
I tried various plans - from “free” to “basic” and to the “P1v3” (better than the basic plan)
I am quite new at cloud services and the reason I’m using Azure instead of digital ocean is because I’ve got free azure credits.
200 USD/month is definitely oversized
If you have never deployed an app with docker-compose to Azure, I suggest following a few tutorials first, and reading the documentation at Getting Started - Gramps Web in detail.
When you are confident you have a setup that should work but doesn’t, please share all details (except private data like credentials) and logs here and we’ll do our best to help you.
Definitely agree it is oversized - I just wanted to make sure it wasn’t the plan that was restricting the app. Pretty sure I read that web page again and again. I don’t think running docker-compose is complicated on Azure.
I ran exactly the yaml file.
I did change the nginx ones to reflect the dns, but it shows the same application error message.
version: "3.7"
services:
grampsweb: &grampsweb
image: ghcr.io/gramps-project/grampsweb:latest
restart: always
ports:
- "80:5000" # host:docker
environment:
GRAMPSWEB_TREE: "Gramps Web" # will create a new tree if not exists
GRAMPSWEB_CELERY_CONFIG__broker_url: "redis://grampsweb_redis:6379/0"
GRAMPSWEB_CELERY_CONFIG__result_backend: "redis://grampsweb_redis:6379/0"
GRAMPSWEB_RATELIMIT_STORAGE_URI: redis://grampsweb_redis:6379/1
depends_on:
- grampsweb_redis
volumes:
- gramps_users:/app/users # persist user database
- gramps_index:/app/indexdir # persist search index
- gramps_thumb_cache:/app/thumbnail_cache # persist thumbnails
- gramps_cache:/app/cache # persist export and report caches
- gramps_secret:/app/secret # persist flask secret
- gramps_db:/root/.gramps/grampsdb # persist Gramps database
- gramps_media:/app/media # persist media files
- gramps_tmp:/tmp
grampsweb_celery:
<<: *grampsweb # YAML merge key copying the entire grampsweb service config
ports: []
container_name: grampsweb_celery
depends_on:
- grampsweb_redis
command: celery -A gramps_webapi.celery worker --loglevel=INFO
grampsweb_redis:
image: redis:alpine
container_name: grampsweb_redis
restart: always
volumes:
gramps_users:
gramps_index:
gramps_thumb_cache:
gramps_cache:
gramps_secret:
gramps_db:
gramps_media:
gramps_tmp:
Ok, I found out the azure compose deployer has limitations. Some of these commands are not supported
Configure a custom container - Azure App Service | Microsoft Learn