-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdocker-compose.dev.yml
41 lines (39 loc) · 1.1 KB
/
docker-compose.dev.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# # # # #
# File only for development !!!
# # # # #
version: "2"
services:
radio_api:
build:
context: .
dockerfile: ./utils/Dockerfile
container_name: radio_api_dev
ports:
- "8080:80"
- "80:80"
volumes:
- ./php/:/php-code/
- ./data/:/php-code/data/
- ./media/:/php-code/media/
- ./utils/getr.php:/php-code/getr.php:ro # redis all values listing
- ./utils/backup-restore.php:/backup-restore.php:ro # backup restore tool for cache values
environment:
- DEV=dev
- CONF_DOMAIN=http://localhost:8080/
- CONF_RADIO_DOMAIN=http://127.0.0.1/
- CONF_ALLOWED_DOMAIN=all
- CONF_SHUFFLE_MUSIC=true
- CONF_CACHE_EXPIRE=1200
#- CONF_USE_JSON_CACHE=true
- CONF_REDIS_HOST=redis
- CONF_STREAM_JSON=false #http://192.168.0.10:8081/list.json
- CONF_IM_EXPORT_TOKEN=LP75Djdj195DL8SZnfY3
- CONF_USE_LOGO_CACHE=true
#- CONF_FAVORITE_ITEMS=Radio,Radio-Browser
depends_on:
- redis
redis:
image: redis:alpine
container_name: radio_api_redis
volumes:
- ./redis/:/data