-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.local.yml
55 lines (54 loc) · 1.66 KB
/
docker-compose.local.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
version: "3"
services:
nginx:
image: nginx:latest
ports:
- "80:80"
- "443:443"
volumes:
- ./nginx/local/nginx.conf:/etc/nginx/nginx.conf
- /etc/letsencrypt:/etc/letsencrypt
depends_on:
- habatu-frontend
- habatu-backend
links:
- habatu-frontend
- habatu-backend
habatu-backend:
build: ./habatu-backend
restart: unless-stopped
volumes:
- ./habatu-backend:/usr/app
- /usr/app/node_modules
environment:
- TOKEN_KEY=MUWU4l!I5#lRN%YPTQJ&2p@9b6E89#fJ
- NODE_ENV=production
- ADMIN_NICKNAME=archi
- ADMIN_PASSWORD=*6y!1XIt73%7
- PORT=8000
- ALLOWED_HOST=*
- MONGO_USERNAME=ygbydmzfnfvbxbmqdqmy
- MONGO_PASSWORD=bQCrPwf2DTc7Wvm2XFT9
links:
- mongo
habatu-frontend:
build: ./habatu-frontend
mongo:
container_name: mongo
image: mongo
volumes:
- data:/data/db
environment:
MONGO_INITDB_ROOT_USERNAME: ygbydmzfnfvbxbmqdqmy
MONGO_INITDB_ROOT_PASSWORD: bQCrPwf2DTc7Wvm2XFT9
mongo-express:
image: mongo-express
restart: always
ports:
- 8081:8081
environment:
ME_CONFIG_MONGODB_URL: mongodb://ygbydmzfnfvbxbmqdqmy:bQCrPwf2DTc7Wvm2XFT9@mongo:27017/
ME_CONFIG_BASICAUTH_USERNAME: AZc8A7es3vNQAmJs5e8c
ME_CONFIG_BASICAUTH_PASSWORD: HGxTz9juPHuND55h8ztB
volumes:
data: