-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
78 lines (68 loc) · 1.41 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
version: "3.5"
services:
nginx:
build: ./config/nginx
image: nginx:newsproxy
ports:
- 8079:80
links:
- service-registry:service-registry
- news-config:news-config
firefox:
build: ./config/firefox
image: firefox:newsbrowser
ports:
- 8084:5800
shm_size: '512mb'
links:
- news-service:news-service
- news-config:news-config
privileged: true
news-service:
image: news
ports:
- 9800
news-config:
image: config
ports:
- 8888
service-registry:
image: registry
ports:
- 8761
mongodb:
image : mongo
container_name: mongodb
environment:
- PUID=1000
- PGID=1000
volumes:
- /home/news/mongodb/database:/data/db
ports:
- 27017:27017
restart: unless-stopped
mongo-express:
image: mongo-express
environment:
- ME_CONFIG_MONGODB_SERVER=mongodb
- MvE_CONFIG_MONGODB_PORT=27017
depends_on:
- mongodb
ports:
- "9888:8081"
phpmyadmin:
image: phpmyadmin/phpmyadmin
ports:
- 8085:80
db:
build: ./config/db
image: mysql:latest
ports:
- 3308:3306
restart: always
environment:
MYSQL_ROOT_PASSWORD: octopus
MYSQL_DATABASE: 'subscription'
MYSQL_ALLOW_EMPTY_PASSWORD: 1
volumes:
- /home/news/mysql/database:/var/lib/mysql