-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
96 lines (96 loc) · 2.18 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
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
86
87
88
89
90
91
92
93
94
95
96
version: "3"
services:
teplosocial-nginx:
build:
context: teplosocial-nginx
dockerfile: Dockerfile
environment:
- APP_ENV=dev
ports:
- "80:80"
- "5000:5000"
links:
- teplosocial-backend
- teplosocial-frontend
volumes:
- ../wordpress:/site/wordpress
extra_hosts:
- "teplosocial.tep:0.0.0.0"
networks:
default:
aliases:
- "teplosocial.tep"
teplosocial-mongo:
build:
context: ../
dockerfile: docker/teplosocial-mongo/Dockerfile
restart: always
ports:
- "27017"
volumes:
- ../mongo:/data/db
teplosocial-mongo-express:
image: mongo-express
restart: always
ports:
- 8001:8081
environment:
- ME_CONFIG_MONGODB_SERVER=teplosocial-mongo
teplosocial-mysql:
build:
context: ../
dockerfile: docker/teplosocial-mysql/Dockerfile
restart: always
environment:
MARIADB_DATABASE: kurs
MARIADB_USER: kurs_user
MARIADB_PASSWORD: DevdrOvsFK4i7
MARIADB_ROOT_PASSWORD: RootdrOvsFK4i7
ports:
- "3306"
volumes:
- ../mysql:/var/lib/mysql
teplosocial-phpmyadmin:
image: phpmyadmin
restart: always
ports:
- 8000:80
environment:
- PMA_HOST=teplosocial-mysql
teplosocial-backend:
build:
context: teplosocial-backend
dockerfile: Dockerfile
environment:
- APP_ENV=dev
ports:
- "9000"
links:
- teplosocial-mongo
- teplosocial-mysql
volumes:
- ../wordpress:/site/wordpress
extra_hosts:
- "teplosocial.tep:0.0.0.0"
teplosocial-frontend:
build:
context: ../
dockerfile: docker/teplosocial-frontend/Dockerfile
environment:
- NODE_ENV=development
links:
- teplosocial-mongo
volumes:
- ../nextjs:/site/nextjs
# teplosocial-microservice-notifications:
# build:
# context: ../
# dockerfile: docker/teplosocial-microservice-notifications/Dockerfile
# environment:
# - NODE_ENV=development
# links:
# - teplosocial-mongo
# volumes:
# - ../microservices/notifications:/site/microservices/notifications
networks:
default: