-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
64 lines (56 loc) · 1.16 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
version: '3.8'
services:
httpd:
container_name: united-httpd
build: ./ubuntu-apache
ports:
- 80:80
volumes:
- "./www:/var/www/html:rw"
php-fpm:
container_name: united-php-fpm
build: ./php-fpm
volumes:
- "./www:/var/www/html:rw"
node:
container_name: united-node
build: ./node
ports:
- 8443:8443
volumes:
- "./www:/var/www/html:rw"
depends_on:
- php-fpm
- mariadb
- httpd
- redis
supervisor:
container_name: united-supervisor
build: ./supervisor
tty: true
volumes:
- "./www:/var/www/html:rw"
mariadb:
container_name: united-mariadb
build: ./mariadb
volumes:
- mariadb-volume:/var/lib/mysql
environment:
TZ: "Europe/Rome"
MYSQL_ALLOW_EMPTY_PASSWORD: "no"
MYSQL_ROOT_PASSWORD: "rootpwd"
MYSQL_USER: 'testuser'
MYSQL_PASSWORD: 'testpassword'
MYSQL_DATABASE: 'testdb'
phpmyadmin:
container_name: united-phpmyadmin
build: ./phpmyadmin
links:
- 'mariadb:db'
ports:
- 8081:80
redis:
container_name: united-redis
build: ./redis
volumes:
mariadb-volume: