-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
72 lines (64 loc) · 2.01 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
version: '3.1'
services:
server:
build: .
ports:
- "8080:3000"
depends_on:
- db
links:
- mongo
environment:
- DB_HOST=db
- DB_PORT=5432
- DB_USERNAME=postgres
- DB_PASSWORD=postgres
- DB_DATABASE=postgres
- JWT_SECRET=WzIyMywxOTYsNzAsMjI4LDYzLDcwLDExOCw0NSw4MiwxMDUsMTI0LDkwLDI1MCwxNDQsMjEyLDEzLDE0LDIwNyw3NSwyMjgsMjMyLDI0NywxNCwxMDIsMTkyLDIyMSw5MCwxNzIsMTM5LDE5MywxOTQsMTM5LDc0LDUxLDUsMjE3LDE5MiwyMjEsMTc4LDEzMywyMjEsMTQxLDE0NSwxNDksODEsMzQsMjAxLDEyLDYzLDE0MSwyNSwyNDMsMTEzLDE0OCwyNDgsNzEsNzMsNywyNDcsNTYsMTk4LDk4LDQyLDI0MywyNCwxNjgsMjU0LDg3LDI5LDg4LDE1MywyMDcsMTA3LDExMSwxMjEsMTA3LDE3Nyw5NCwxNjAsMjE2LDEsMTIzLDExOCwxLDM1LDI1MSw3MiwxOTIsMjQsMTQ4LDIxMywxODAsMjIwLDEzLDI3LDkyLDE5MiwxNzMsMTg4LDIzMSwzMCw4MiwyMTcsOTUsMTA4LDAsNzAsNzksMTU1LDE2OCwzMiwxMDIsMTczLDM1LDY3LDMzLDIzNywyNTEsMzUsMjQ5LDg0LDQxLDI1MCwxODEsNzAsMzAsNzksMTg4XQ==
- SENDINBLUE_KEY=${SENDINBLUE_KEY}
- MONGO_URI=mongodb://root:example@mongo:27017/
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock
db:
image: postgres
restart: always
volumes:
- postgres_data:/var/lib/postgresql/data
environment:
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
POSTGRES_DB: postgres
expose:
- 5432
# debug, remove when done
ports:
- "5432:5432"
# explore database, for debug only
adminer:
image: adminer
restart: always
ports:
- 8081:8080
mongo:
image: mongo
restart: always
expose:
- 27017
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: example
ports:
- "27017:27017"
mongo-express:
image: mongo-express
restart: always
ports:
- 8082:8081
environment:
ME_CONFIG_MONGODB_ADMINUSERNAME: root
ME_CONFIG_MONGODB_ADMINPASSWORD: example
ME_CONFIG_MONGODB_URL: mongodb://root:example@mongo:27017/
volumes:
postgres_data: null