This commit is contained in:
2026-08-03 17:57:21 +08:00
parent 6c3de4b2ef
commit f8c17278a2
65 changed files with 10823 additions and 462 deletions
+60
View File
@@ -0,0 +1,60 @@
name: iptv
networks:
iptvc-network:
driver: bridge
x-common-attributes: &common-attributes
restart: unless-stopped
volumes:
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
extra_hosts: [host.docker.internal:host-gateway]
networks: [iptvc-network]
logging:
driver: "json-file"
options:
max-file: 5
max-size: 50m
services:
app:
<<: *common-attributes
container_name: iptvc-app
image: git.axenov.dev/iptv/iptvc:latest
build:
context: ./
dockerfile: Dockerfile
# env_file: [.env]
command: ["serve", "--check"]
ports: [8800:8800]
volumes:
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
- ./playlists.ini:/app/playlists.ini:ro
- ./channels.json:/app/channels.json:ro
- ./config.yml:/app/config.yml:ro
depends_on: [cache]
# docs:
# <<: *common-attributes
# container_name: iptvс-docs
# image: git.axenov.dev/iptv/iptv-docs:latest
# build:
# context: ./docs
# dockerfile: Dockerfile
# ports: [8801:8801]
cache:
<<: *common-attributes
container_name: iptvc-cache
image: valkey/valkey:latest
# pull_policy: always
# entrypoint: ["sh", "/entrypoint.sh"]
command: ["valkey-server", "/usr/local/etc/valkey/valkey.conf"]
volumes:
# - ./docker/cache/entrypoint.sh:/entrypoint.sh:ro
- ./docker/cache/valkey.conf:/usr/local/etc/valkey/valkey.conf:ro
- ./docker/cache/data/:/data:rw
ports: [8803:6379]