1
0
mirror of https://github.com/mxpv/podsync.git synced 2024-05-11 05:55:04 +00:00
mxpv-podsync/src/Podsync/docker-compose.yml

30 lines
532 B
YAML
Raw Normal View History

version: '2'
services:
app:
image: podsync
build:
context: .
dockerfile: Dockerfile
args:
- PORT=56247
environment:
- Podsync:RedisConnectionString=redis
env_file:
- ~/podsync.env
redis:
image: redis
command: redis-server --appendonly yes
volumes:
- /redis_data:/data
caddy:
build:
context: .
dockerfile: Caddy.Dockerfile
ports:
- 80:80
- 443:443
environment:
- REDIRECT_HOST=app
- REDIRECT_PORT=56247