You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You will want to create a new `.env` file in the root of the project directory with variables that will not be over-written when pulling down newer builds of the configuration.
37
-
38
-
If you are just testing locally and not deploying this in a production environment, you can skip over this section and use the default configuration, however **if you are planning on deploying this on the Internet as a live server you SHOULD SET this configuration so you are not using default passwords/configuration etc.**
|`POSTGRES_USER`| libretime-postgres |`libretime`| The username to provision when standing up PostgreSQL |
45
-
|`POSTGRES_PASSWORD`| libretime-postgres |`libretime`| Password for the PostgreSQL Database |
46
-
|`RABBITMQ_DEFAULT_USER`| libretime-rabbitmq |`libretime`| Username to access the RabbitMQ service |
47
-
|`RABBITMQ_DEFAULT_PASS`| libretime-rabbitmq |`libretime`| Username to access the RabbitMQ service |
48
-
|`EXTERNAL_HOSTNAME`| libretime-core |`localhost`| The FQDN of your server published on the Internet - If left as `localhost` apache iframes and other configuration will be stripped out and made "relative" |
49
-
|`LOCAL_MUSIC_MAPPING`| libretime-core |`./localmusic`| The path to your media directory / where uploads/media will be stored |
50
-
|`WEB_UI_PORT`| libretime-core |`8882`| The default port that the main Libretime HTTP Server/Web-UI will run on |
51
-
|`MASTER_SOURCE_PORT`| libretime-core |`8001`| Master port that producers can use to over-ride the active program with an Icecast Stream (Use a tool like [BUTT](https://github.com/dkwiebe/broadcasttool)) |
52
-
|`DJ_SOURCE_PORT`| libretime-core |`8002`| DJ's Icecast port that they can use remotely (using their Libretime credentials) to broadcast during their scheduled time-slot |
53
-
|`ICECAST_PORT`| libretime-icecast |`35112`| The default port that Icecast will stream on -- Suggest leaving as default (a high number), 8000 is a common port that is often port-scanned |
54
-
|`ICECAST_LOCATION`| libretime-icecast |`Mars`| The location of your Stream - Hint, put your city name here! |
55
-
|`ICECAST_SOURCE_PASSWORD`| libretime-icecast |`libretime`| This is the password Libretime uses to connect to icecast - You should make this something nice and secure - You don't want people hijacking your stream! |
56
-
|`ICECAST_RELAY_PASSWORD`| libretime-icecast |`libretime`| The password that people can use to re-stream your stream (i.e. create a satellite stream) |
57
-
|`ICECAST_ADMIN_USERNAME`| libretime-icecast |`admin`| The username to Administer the Icecast service |
58
-
|`ICECAST_ADMIN_PASSWORD`| libretime-icecast |`libretime`| Password for the Icecast Administration User |
59
-
|`ICECAST_ADMIN_EMAIL`| libretime-icecast |`[email protected]`| The "contact email" of the main person managing this setup/station (make this a generic email i.e. [email protected]) |
60
-
|`ICECAST_HOSTNAME`| libretime-icecast |`icecast.local`| This can be the same as your `EXTERNAL_HOSTNAME` parameter if you're running on the same IP/Host - It does however need to be a FQDN! |
61
-
|`ICECAST_MAX_CLIENTS`| libretime-icecast |`500`| Total number of people that can stream the station before Icecast will deny connections - You should limit this to a realistic value depending on how much UPLOAD bandwidth you have available at your station... |
62
-
|`ICECAST_MOUNT_NAME`| libretime-icecast |`/live`| This is the endpoint that your stream will be published/accessible on |
63
-
|`WEBSITE_HOMEPAGE`| libretime-icecast |`http://libretime.org/`| The URL to your station's homepage. |
64
-
65
-
You must change the passwords in your `ICECAST_CONFIG_FILE` at a minimum - **(Don't leave the passwords as the default if you're exposing this to the internet, you will be hacked _(The default is ok if you're testing)_ - You will also need to update your settings in the Libratime UI)**.
66
-
67
34
## Standing up:
68
35
69
36
It's pretty straightforward, just clone down the sources and stand up the container like so:
### CREATE A .env FILE AND ADD CONFIGURATION (see below for configuration options) ###
76
44
# You can use the default configuration and skip this step if you are just testing.
77
45
78
46
vi docker-multicontainer-libretime/.env
@@ -100,6 +68,40 @@ You can monitor the progress of the bootstrap process by running: `docker logs -
100
68
101
69
Once the containers have been stood up you should be able to access the project directly in your browser...
102
70
71
+
72
+
## Configuration:
73
+
74
+
You will want to create a new `.env` file in the root of the project directory with variables that will not be over-written when pulling down newer builds of the configuration.
75
+
76
+
If you are just testing locally and not deploying this in a production environment, you can skip over this section and use the default configuration, however **if you are planning on deploying this on the Internet as a live server you SHOULD SET this configuration so you are not using default passwords/configuration etc.**
|`POSTGRES_USER`| libretime-postgres |`libretime`| The username to provision when standing up PostgreSQL |
83
+
|`POSTGRES_PASSWORD`| libretime-postgres |`libretime`| Password for the PostgreSQL Database |
84
+
|`RABBITMQ_DEFAULT_USER`| libretime-rabbitmq |`libretime`| Username to access the RabbitMQ service |
85
+
|`RABBITMQ_DEFAULT_PASS`| libretime-rabbitmq |`libretime`| Username to access the RabbitMQ service |
86
+
|`EXTERNAL_HOSTNAME`| libretime-core |`localhost`| The FQDN of your server published on the Internet - If left as `localhost` apache iframes and other configuration will be stripped out and made "relative" |
87
+
|`LOCAL_MUSIC_MAPPING`| libretime-core |`./localmusic`| The path to your media directory / where uploads/media will be stored |
88
+
|`WEB_UI_PORT`| libretime-core |`8882`| The default port that the main Libretime HTTP Server/Web-UI will run on |
89
+
|`MASTER_SOURCE_PORT`| libretime-core |`8001`| Master port that producers can use to over-ride the active program with an Icecast Stream (Use a tool like [BUTT](https://github.com/dkwiebe/broadcasttool)) |
90
+
|`DJ_SOURCE_PORT`| libretime-core |`8002`| DJ's Icecast port that they can use remotely (using their Libretime credentials) to broadcast during their scheduled time-slot |
91
+
|`ICECAST_PORT`| libretime-icecast |`35112`| The default port that Icecast will stream on -- Suggest leaving as default (a high number), 8000 is a common port that is often port-scanned |
92
+
|`ICECAST_LOCATION`| libretime-icecast |`Mars`| The location of your Stream - Hint, put your city name here! |
93
+
|`ICECAST_SOURCE_PASSWORD`| libretime-icecast |`libretime`| This is the password Libretime uses to connect to icecast - You should make this something nice and secure - You don't want people hijacking your stream! |
94
+
|`ICECAST_RELAY_PASSWORD`| libretime-icecast |`libretime`| The password that people can use to re-stream your stream (i.e. create a satellite stream) |
95
+
|`ICECAST_ADMIN_USERNAME`| libretime-icecast |`admin`| The username to Administer the Icecast service |
96
+
|`ICECAST_ADMIN_PASSWORD`| libretime-icecast |`libretime`| Password for the Icecast Administration User |
97
+
|`ICECAST_ADMIN_EMAIL`| libretime-icecast |`[email protected]`| The "contact email" of the main person managing this setup/station (make this a generic email i.e. [email protected]) |
98
+
|`ICECAST_HOSTNAME`| libretime-icecast |`icecast.local`| This can be the same as your `EXTERNAL_HOSTNAME` parameter if you're running on the same IP/Host - It does however need to be a FQDN! |
99
+
|`ICECAST_MAX_CLIENTS`| libretime-icecast |`500`| Total number of people that can stream the station before Icecast will deny connections - You should limit this to a realistic value depending on how much UPLOAD bandwidth you have available at your station... |
100
+
|`ICECAST_MOUNT_NAME`| libretime-icecast |`/live`| This is the endpoint that your stream will be published/accessible on |
101
+
|`WEBSITE_HOMEPAGE`| libretime-icecast |`http://libretime.org/`| The URL to your station's homepage. |
102
+
103
+
You should change the Icecast passwords at a minimum - **(Don't leave the passwords as the default if you're exposing this to the internet, you will be hacked _(The default is ok if you're testing)_ - You will also need to update your settings in the Libratime UI)**.
104
+
103
105
## Accessing:
104
106
105
107
Just go to http://server-ip:8882/ (change port 8882 to whatever you mapped in your docker-compose file if you changed this)...
0 commit comments