-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
73 lines (57 loc) · 1.69 KB
/
docker-compose.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
version: '2'
services:
airtime-postgres:
image: postgres:9.3-alpine
container_name: airtime-postgres
restart: always
privileged: true
environment:
- POSTGRES_PASSWORD=airtime
- POSTGRES_USER=airtime
- PGDATA=/postgres_data
volumes:
- ./postgresql:/postgres_data
- /etc/localtime:/etc/localtime:ro
networks:
- airtime-internal
ports:
# Postgre port mapped to non-standard port (for external admin access) - Internal access is via the internal docker network
- 5433:5432
airtime-rabbitmq:
image: rabbitmq:3.6-alpine
container_name: airtime-rabbitmq
restart: always
privileged: true
environment:
- RABBITMQ_DEFAULT_USER=airtime
- RABBITMQ_DEFAULT_PASS=airtime
- "RABBITMQ_DEFAULT_VHOST=/airtime"
volumes:
- /etc/localtime:/etc/localtime:ro
networks:
- airtime-internal
airtime-core:
build: .
container_name: airtime-core
restart: always
privileged: true
ports:
# Web UI Port (proxy pass to this, chang eto 80:80 if you want to access directly in the browser without a reverse proxy)
- 8882:80
# Icecast Default Port
- 8000:8000
volumes:
- /etc/localtime:/etc/localtime:ro
- ./config/icecast.xml:/etc/icecast2/icecast.xml
- ./config/airtime:/etc/airtime
# Map your music directories to '/srv/airtime/stor' within the container.
# NB: Airtime will create some directories in this location (for user uploads, recorded podcasts etc)
- /localmusic:/external-media
networks:
- airtime
- airtime-internal
networks:
airtime:
external: true
airtime-internal:
driver: bridge