-
Notifications
You must be signed in to change notification settings - Fork 68
/
docker-compose.yml
43 lines (43 loc) · 914 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
version: '3'
services:
groupco:
build: .
ports:
- "9777:9777"
- "9520:9520"
- "9521:9521"
- "9511:9511"
- "9517:9517"
volumes:
- .:/GroupCo
- .:/var/www/GroupCo
stdin_open: true
tty: true
redis:
restart: always
image: "redis:alpine"
ports:
- 6379:6379
nginx:
image: "nginx:alpine"
ports:
- "80:80"
volumes:
- ./docker/nginx:/etc/nginx/conf.d/:ro
- .:/var/www/GroupCo
- ./runtime/nginx/:/var/log/nginx/:rw
restart : always
depends_on:
- groupco
# mysql:
# #restart: always
# image: "mysql:5.7"
# ports:
# - 3306:3306
# command: --default-authentication-plugin=mysql_native_password
# environment:
# MYSQL_ROOT_PASSWORD: 123
# MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
# MYSQL_USER: cm
# MYSQL_PASSWORD: 123
# MYSQL_DATABASE: Demo