-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathdocker-compose.yml
46 lines (43 loc) · 1.02 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
version: '2'
services:
mysql:
image: mysql
command: --default-authentication-plugin=mysql_native_password
environment:
MYSQL_ROOT_PASSWORD: your_db_password
restart: always
phpmyadmin:
image: phpmyadmin/phpmyadmin
environment:
PMA_HOST: mysql
ports:
- "8080:80"
restart: always
encoder:
image: leejoneshane/youphptube-encoder
environment:
DOMAIN: fqdn_of_the_server
DOMAIN_PROTOCOL: http
ADMIN_PASSWORD: your_password
DB_HOST: mysql
DB_USER: root
DB_PASSWORD: your_db_password
ports:
- "8000:80"
restart: always
youphptube:
image: leejoneshane/youphptube
environment:
SITE_TITLE: I_love_videos
DOMAIN: fqdn_of_the_server
DOMAIN_PROTOCOL: http
ADMIN_EMAIL: your_email
ADMIN_PASSWORD: your_password
DB_HOST: mysql
DB_USER: root
DB_PASSWORD: your_db_password
LANG: en
ENCODER: http://fqdn_of_the_server:8000
ports:
- "80:80"
restart: always