0
0
mirror of https://github.com/anthonyaxenov/iptv.git synced 2024-11-24 22:34:34 +00:00
iptv/docker-compose.yml
AnthonyAxenov 585392b295
Ссылка на коммит в подвале
Требует установку гит-хуков
2022-09-12 22:36:29 +08:00

40 lines
868 B
YAML

version: '3'
networks:
iptv:
driver: bridge
services:
php:
container_name: iptv-php
build: 'docker/php'
restart: unless-stopped
networks:
- iptv
volumes:
- /etc/localtime:/etc/localtime:ro
- ./docker/php/www.conf:/usr/local/etc/php-fpm.d/www.conf:ro
- ./docker/php/php.ini:/usr/local/etc/php/conf.d/php.ini:ro
- ./log/php:/var/log/php:rw
- ./src:/var/www:rw
- ./playlists.ini:/var/www/config/playlists.ini:ro
nginx:
container_name: iptv-nginx
image: nginx:latest
restart: unless-stopped
networks:
- iptv
volumes:
- /etc/localtime:/etc/localtime:ro
- ./docker/nginx/vhost.conf:/etc/nginx/conf.d/default.conf:ro
- ./log/nginx:/var/log/nginx:rw
- ./src:/var/www:ro
ports:
- '8080:80'
links:
- php
depends_on:
- php