I have been running an App Service with a multi-container configuration for years, but recently the container logs are completely blank.
They used to be accessible from the SCM site via this URL:
https://<app-service>.scm.azurewebsites.net/api/logs/docker
Application logging is enabled, and as far as I haven't made any changes except to the deployed application code.
I have gone digging through a other StackOverflow/Microsoft support forum posts, but haven't found a solution yet. The issue is also very similar to this unresolved StackOverflow post: Azure app services - Docker compose multi container app - no Docker logs
Settings:
WEBSITES_ENABLE_APP_SERVICE_STORAGE
is set to true
Docker-compose file:
services:
website:
image: ghcr.io/company/website:latest
environment:
- "ENVIRONMENT=dev"
- "PORT=8000"
ports:
- 0:8000
api:
image: ghcr.io/company/api:latest
ports:
- 0:8000
restart: always
websocket:
image: ghcr.io/company/websocket:latest
depends_on:
- api
ports:
- 0:8000
restart: always
nginx:
image: ghcr.io/company/nginx:latest
depends_on:
- website
- api
- websocket
ports:
- 80:80
restart: always