-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
43 lines (38 loc) · 1014 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
# FRONTEND_PUBLIC_URL
# DB_USERNAME
# DB_USER_PASSWORD
# SERVER_PUBLIC_URL
version: '3.1'
services:
mongo:
image: mongo:4
restart: always
ports:
- 27017:27017
environment:
MONGO_INITDB_ROOT_USERNAME: ${DB_USERNAME}
MONGO_INITDB_ROOT_PASSWORD: ${DB_USER_PASSWORD}
elder-care-app-server:
image: ghcr.io/a3510377/elder-care-app_server:latest
restart: always
expose:
- 8000
environment:
ALLOWED_ORIGINS: ${FRONTEND_PUBLIC_URL}
DB_CONN_STRING: mongodb://mongo:27017
DATABASE_USERNAME: ${DB_USERNAME}
DATABASE_PASSWORD: ${DB_USER_PASSWORD}
# app-frontend:
# image: ghcr.io/a3510377/elder-care-app_frontend:latest
# restart: always
# ports:
# - 80:3000
# environment:
# NUXT_PUBLIC_API_URL: ${SERVER_PUBLIC_URL}
mongo-express:
image: mongo-express
restart: always
expose:
- 8081
environment:
ME_CONFIG_MONGODB_URL: mongodb://${DB_USERNAME}:${DB_USER_PASSWORD}@mongo:27017