-
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
28 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,15 @@ | ||
version: "2.3" | ||
|
||
# after "docker-compose up" try the following URLs as examples: | ||
# http://localhost:8080/ | ||
# http://localhost:8080/test/fixtures/ | ||
|
||
volumes: | ||
config: | ||
|
||
services: | ||
web: | ||
image: nginx:alpine | ||
ports: | ||
- "8080:80" | ||
volumes: | ||
- .:/var/www/html | ||
- ./docker-compose/nginx/default.conf:/etc/nginx/conf.d/default.conf | ||
links: | ||
- php-fpm | ||
|
||
php-fpm: | ||
image: php:7-fpm-alpine | ||
volumes: | ||
- .:/var/www/html | ||
|
||
# You could also create a Dockerfile FROM php:7-fpm-alpine which includes these next two | ||
- ./dir2cast.php:/dir2cast.php | ||
- ./getID3:/getID3 | ||
|
||
# You should map a temp folder in otherwise you'll see errors about permission denied mkdir() | ||
- /tmp:/temp | ||
podcast: | ||
image: ghcr.io/ctkcoding/dir2cast:main | ||
container_name: podcast | ||
restart: unless-stopped | ||
ports: | ||
- "2022:80" | ||
volumes: | ||
- episode_location:/var/www/html/episodes | ||
- config:/var/www/html | ||
# environment: | ||
# - MP3_URL = https://domain.com/episodes/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters