https://github.com/numblr/icecast-docker
Docker image for icecast2
https://github.com/numblr/icecast-docker
icecast icecast-server icecast2
Last synced: about 1 month ago
JSON representation
Docker image for icecast2
- Host: GitHub
- URL: https://github.com/numblr/icecast-docker
- Owner: numblr
- License: mit
- Created: 2022-09-29T11:03:10.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-01T12:34:06.000Z (over 2 years ago)
- Last Synced: 2025-02-01T23:36:11.006Z (3 months ago)
- Topics: icecast, icecast-server, icecast2
- Language: XSLT
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# icecast-docker
Docker image for icecast2## Images
| Image | Description | Platform |
| -------------------------- |:-----------------------------:| ---------:|
| numblr/icecast2:alpine.arm | Image for arm64 architecture | arm64 |## Usage
docker run --rm -p 8000:8000
docker run --rm -p 8000:8000 \
-v /path/to/config:/icecast/config/ \
-v /path/to/log_dir:/icecast/log \
-v /path/to/web:/icecast/web \
-v /path/to/admin:/icecast/admin \
or use the prebuilt image
docker run --rm -p 8000:8000 numblr/icecast2:latest
### EC2 setupTo run an icecast2 server on an EC2 instance install docker and run the server in a docker container on the instance:
* Launch an instance, e.g. t4g.micro with 2vCPU, 1GB RAM, 8GB disk (choose the arm64 architecture).
** In the security group allow ssh and port 8000 (TCP).
* Copy `aws/setup.sh` to the instance and run the script.
* Logout and reconnect.
* Copy `aws/run.sh` to the instance and start the icecast server with the image name as parameter.
* Use `nohup ./run.sh numblr/icecast2:alpine-arm &` to start the server in the background.
* To use a custom configuration copy into the `config/` folder created by the setup script on the instance. Ensure the config file is readable for all users.The `aws/setup.sh` script will create a `log/` folder on the instance where the server logs will be stored.
## Build
Build the image with
docker build -t .
docker build -t -f Dockerfile.alpine.arm .