Deze commit introduceert een volledige installatiehandleiding en scripts voor het instellen van de Adhaan applicatie in fullscreen kioskmodus op een Raspberry Pi. Inclusief nieuwe bestanden voor automatische installatie, Docker configuraties, en aanpassing van instellingen. Hierdoor wordt de installatie gemakkelijker en efficiënter, met automatische configuratie van systeemdiensten en kiosk start-up.
38 lines
949 B
YAML
38 lines
949 B
YAML
services:
|
|
adhan-webapp:
|
|
build:
|
|
context: ./adhan-webapp
|
|
container_name: adhan-webapp
|
|
ports:
|
|
- '5090:80'
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./adhan-webapp/settings.json:/app/settings.json
|
|
- ./adhan-webapp/static:/app/static:ro
|
|
- ./adhan-webapp/templates:/app/templates:ro
|
|
- /etc/localtime:/etc/localtime:ro
|
|
- /etc/timezone:/etc/timezone:ro
|
|
environment:
|
|
- FLASK_ENV=production
|
|
- FLASK_DEBUG=0
|
|
- PYTHONUNBUFFERED=1
|
|
- TZ=Europe/Amsterdam
|
|
networks:
|
|
- adhan-network
|
|
|
|
sonos-api:
|
|
container_name: sonos-api
|
|
image: chrisns/docker-node-sonos-http-api
|
|
network_mode: host
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./sonos/settings.json:/app/settings.json:ro
|
|
- ./sonos/presets:/app/presets:ro
|
|
- ./sonos/cache:/app/cache:ro
|
|
- ./sonos/clips:/app/static/clips:ro
|
|
|
|
networks:
|
|
adhan-network:
|
|
driver: bridge
|
|
|
|
version: '3.8' |