-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathcompose.yml
85 lines (80 loc) · 1.81 KB
/
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
version: "3.8"
services:
hira-chan_nginx:
image: hira-chan:nginx-1.0.0
container_name: hira-chan_nginx
build:
context: .
dockerfile: ./docker/nginx/Dockerfile
ports:
- 80:80
depends_on:
- hira-chan_app
tty: true
hira-chan_app:
image: hira-chan:app-2.1.0
container_name: hira-chan_app
build:
context: .
dockerfile: ./docker/app/Dockerfile
user: dev
volumes:
- .:/usr/src/app
ports:
- 5173:5173
depends_on:
- hira-chan_echo-server
- hira-chan_mariadb
tty: true
hira-chan_redis:
image: hira-chan:redis-2.0.0
container_name: hira-chan_redis
build:
context: .
dockerfile: ./docker/redis/Dockerfile
ports:
- 6379:6379
tty: true
hira-chan_echo-server:
image: hira-chan:echo-server-2.0.0
container_name: hira-chan_echo-server
build:
context: .
dockerfile: ./docker/echo-server/Dockerfile
ports:
- 6001:6001
depends_on:
- hira-chan_redis
tty: true
hira-chan_mariadb:
image: hira-chan:mariadb-2.0.0
container_name: hira-chan_mariadb
build:
context: .
dockerfile: ./docker/mariadb/Dockerfile
environment:
MARIADB_DATABASE: hira_chan
MARIADB_USER: hira_chan
MARIADB_PASSWORD: pass
MARIADB_ROOT_PASSWORD: rootpass
ports:
- 3306:3306
tty: true
hira-chan_phpmyadmin:
image: hira-chan:phpmyadmin-2.0.0
container_name: hira-chan_phpmyadmin
build:
context: .
dockerfile: ./docker/phpmyadmin/Dockerfile
environment:
PMA_ARBITRARY: 1
PMA_HOST: hira-chan_mariadb
PMA_USER: root
PMA_PASSWORD: rootpass
PMA_VERBOSE: phpmyadmin
PMA_PORT: 3306
ports:
- 8080:80
depends_on:
- hira-chan_mariadb
tty: true