Added podgrab docker config
This commit is contained in:
parent
4e246adf4d
commit
ac5f944770
2 changed files with 34 additions and 0 deletions
5
podgrab/.env.example
Normal file
5
podgrab/.env.example
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# How often to check for new episodes in seconds
|
||||
CHECK_FREQUENCY=240
|
||||
|
||||
# Password the basic auth
|
||||
PASSWORD=changeme
|
||||
29
podgrab/docker-compose.yml
Normal file
29
podgrab/docker-compose.yml
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
version: '2.4'
|
||||
|
||||
services:
|
||||
app:
|
||||
image: 'akhilrex/podgrab:1.0.0'
|
||||
restart: 'always'
|
||||
|
||||
healthcheck:
|
||||
test: 'curl -f localhost:8080 || exit 1'
|
||||
interval: '1m'
|
||||
timeout: '10s'
|
||||
retries: 3
|
||||
start_period: '10s'
|
||||
|
||||
env_file:
|
||||
- '.env'
|
||||
networks:
|
||||
- 'nginx'
|
||||
volumes:
|
||||
- 'config:/config'
|
||||
- 'assets:/assets'
|
||||
|
||||
networks:
|
||||
nginx:
|
||||
external: true
|
||||
|
||||
volumes:
|
||||
config:
|
||||
assets:
|
||||
Reference in a new issue