Comments (3)
Ah, I think I got it! The dir2cast.ini
is not mapped to the Docker container. Adding it as a volume like ./dir2cast.ini:/dir2cast.ini
fixes it. I can do a PR for that if you want.
However, I still don't see the data generated in the tmp folder. Do you know what might be causing that?
from dir2cast.
The tmp folder will be inside the container unless you map that too.
from dir2cast.
Hi @ben-xo,
Thanks for your reply. I thought the same, but I can't see the content in the container as well. See below for some details. Any ideas?
Docker-compose yaml
version: "2.3"
# after "docker-compose up" try the following URLs as examples:
# http://localhost:8080/
# http://localhost:8080/test/fixtures/
services:
web:
image: nginx:alpine
restart: unless-stopped
ports:
- "5001: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
restart: unless-stopped
volumes:
- .:/var/www/html
# You could also create a Dockerfile FROM php:7-fpm-alpine which includes these next two
- ./dir2cast.php:/dir2cast.php
- ./dir2cast.ini:/dir2cast.ini
- ./getID3:/getID3
# You should map a temp folder in otherwise you'll see errors about permission denied mkdir()
- /tmp:/temp
Output of terminal after connecting with the php-fpm
container
/var/www/html # ls
CHANGELOG.txt LICENSE README.md books dir2cast.ini dir2cast.php docker-compose docker-compose.yml getID3 temp test tmp
/var/www/html # cd temp/
/var/www/html/temp # ls -a
. ..
/var/www/html/temp # cd ..
/var/www/html # cd tmp
/var/www/html/tmp # ls -a
. ..
/var/www/html/tmp #
from dir2cast.
Related Issues (20)
- Invalid Char value 31 HOT 4
- default item title to mp3 filename if no id3 tag HOT 5
- Suggestion: clear cache when count of mp3 files in directory != count in feed HOT 4
- Remove .mp3 / .m4a Extension On RSS Feed Title HOT 1
- Add Goolgle Podcast Support HOT 2
- Does dir2cast fully work for PHP 8.0 or you will need to fix it? HOT 4
- file ordering in xml file HOT 6
- Giving Error "Undefined variable $argv" HOT 1
- it doesn't generate the XML file HOT 9
- New install doesn't update if dir2cast is added after the media files HOT 27
- any Dockerfile to share for dir2cast ? HOT 8
- Support for .m4b files HOT 3
- Episode image in root folder HOT 4
- Duplicated item attributes HOT 5
- Error message HOT 9
- Support season tag HOT 7
- Tags from JSON (or other source?) HOT 2
- Testing failures HOT 6
- Support for non ASCII characters
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dir2cast.