-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
48 lines (44 loc) · 1.03 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
version: '2'
services:
ajenti-app:
container_name: ajenti-nginx-php
image: albertalvarezbruned/ajentinginx
ports:
- 8000:8000
- 80:80
- 443:443
volumes:
- ./:/srv
- ajenti:/etc/ajenti
- composer:/root/.composer
links:
- ajenti-mysql
- ajenti-postgres
tty: true
ajenti-mysql:
container_name: ajenti-mysql
image: mysql:5.7.12
environment:
MYSQL_ROOT_PASSWORD: secret
volumes:
- mysql:/var/lib/mysql
ports:
- 3306:3306
ajenti-postgres:
container_name: ajenti-postgres
image: postgres:9.6
environment:
POSTGRES_PASSWORD: secret
volumes:
- postgres:/var/lib/postgresql/data
ports:
- 5432:5432
volumes:
ajenti:
driver: local
mysql:
driver: local
postgres:
driver: local
composer:
driver: local