forked from poweradmin/poweradmin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
58 lines (51 loc) · 1.06 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
# The file is intended for testing only, not for production.
version: '3.9'
services:
mariadb:
image: mariadb:latest
container_name: mariadb
environment:
MYSQL_ROOT_PASSWORD: changeme
MYSQL_DATABASE: pdns
MYSQL_USER: pdns
MYSQL_PASSWORD: changeme
volumes:
- mariadb_data:/var/lib/mysql
networks:
- db_network
restart: unless-stopped
postgres:
image: postgres
container_name: postgres
environment:
POSTGRES_PASSWORD: changeme
POSTGRES_DB: pdns
POSTGRES_USER: pdns
volumes:
- postgres_data:/var/lib/postgresql/data
networks:
- db_network
restart: unless-stopped
adminer:
image: adminer
container_name: adminer
ports:
- "8080:8080"
networks:
- db_network
restart: unless-stopped
poweradmin:
container_name: poweradmin
image: poweradmin
ports:
- "80:80"
networks:
- db_network
volumes:
- .:/var/www/html
networks:
db_network:
driver: bridge
volumes:
mariadb_data:
postgres_data: