-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
52 lines (50 loc) · 944 Bytes
/
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
version: "3.3"
services:
web:
image: gbs-m183_web
build:
context: .
dockerfile: .docker/php.Dockerfile
network: host
volumes:
- .:/var/www/html
ports:
- "8081:80"
networks:
- public
- local
hostname: web
restart: "no"
db:
image: mariadb:10.8
command: ["--character-set-server=utf8mb4", "--collation-server=utf8mb4_unicode_ci"]
environment:
MYSQL_ROOT_PASSWORD: root
volumes:
- sql-data:/var/lib/mysql
networks:
- local
hostname: db
restart: "no"
phpmyadmin:
image: phpmyadmin:5.1
environment:
PMA_HOST: db
PMA_PORT: 3306
PMA_USER: root
PMA_PASSWORD: root
UPLOAD_LIMIT: 50M
ports:
- "8082:80"
networks:
- public
- local
hostname: phpmyadmin
restart: "no"
volumes:
sql-data: null
networks:
public:
internal: false
local:
internal: true