-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathcompose.yml
More file actions
48 lines (48 loc) · 942 Bytes
/
compose.yml
File metadata and controls
48 lines (48 loc) · 942 Bytes
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
volumes:
aixadadb:
networks:
aixada:
driver: bridge
services:
mariadb:
image: "bitnami/mariadb:10.6"
networks:
- aixada
ports:
- "3306:3306"
volumes:
- "aixadadb:/bitnami/mariadb"
environment:
- ALLOW_EMPTY_PASSWORD=no
- MARIADB_DATABASE=aixada
- MARIADB_USER=aixada
- MARIADB_PASSWORD=aixada
- MARIADB_ROOT_PASSWORD=root
- MARIADB_CHARACTER_SET=utf8
- MARIADB_COLLATE=utf8_general_ci
phpmyadmin:
image: "bitnami/phpmyadmin:5"
depends_on:
- mariadb
networks:
- aixada
ports:
- "8080:80"
links:
- "mariadb:database"
environment:
- DATABASE_HOST=mariadb
- DATABASE_ALLOW_NO_PASSWORD=false
php:
build: .
depends_on:
- mariadb
networks:
- aixada
ports:
- "80:80"
- "443:443"
links:
- "mariadb:database"
volumes:
- ".:/var/www/html"