Skip to content

Commit

Permalink
chore: adjust cert file name
Browse files Browse the repository at this point in the history
  • Loading branch information
madalozzo committed Dec 28, 2024
1 parent 8e2a9b0 commit efa70f6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions create-certs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ docker run --rm --name certbot -p 80:80 -v "/home/ubuntu/icecast/certs:/etc/lets

sudo chmod -R 755 /home/ubuntu/icecast/certs/

cat certs/live/yourdomain.com/fullchain.pem certs/live/yourdomain.com/privkey.pem > icecast.pem
chmod 666 icecast.pem
cat certs/live/$DOMAIN/fullchain.pem certs/live/$DOMAIN/privkey.pem > cert.pem
chmod 666 cert.pem

cd /home/ubuntu/icecast/
docker compose down
docker compose up -d
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ services:
container_name: "icecast2"
volumes:
- './icecast.xml:/etc/icecast2/icecast.xml:ro'
- './icecast.pem:/usr/share/icecast2/icecast.pem:ro'
- './cert.pem:/usr/share/icecast2/icecast.pem:ro'

0 comments on commit efa70f6

Please sign in to comment.