-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
65 lines (62 loc) · 1.55 KB
/
docker-compose.yaml
File metadata and controls
65 lines (62 loc) · 1.55 KB
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
services:
nginx:
image: ghcr.io/codebridger/goranee_v2_nginx:${NGINX_IMAGE_TAG:-latest}
# build:
# context: .
# dockerfile: nginx.Dockerfile
restart: always
ports:
- "80:80"
- "443:443"
volumes:
- ./nginx/ssl:/etc/nginx/ssl:ro
- ./nginx/certbot:/var/www/certbot:ro
depends_on:
- server
- end_user
networks:
- default
server:
image: ghcr.io/codebridger/goranee_v2_server:${SERVER_IMAGE_TAG:-latest}
# build:
# context: ./server
# dockerfile: Dockerfile
restart: always
expose:
- "8081"
volumes:
- ./public_assets:/server/uploads
- ./backups:/server/backups
environment:
- SERVER_ADMIN_EMAIL=${SERVER_ADMIN_EMAIL:-admin@mail.com}
- SERVER_ADMIN_PASSWORD=${SERVER_ADMIN_PASSWORD:-admin}
- NODE_ENV=production
- MONGODB_URL=mongodb://mongo:27017
depends_on:
- mongo
networks:
- default
end_user:
image: ghcr.io/codebridger/goranee_v2_end_user:${END_USER_IMAGE_TAG:-latest}
# build:
# context: ./end_user
# dockerfile: Dockerfile
restart: always
expose:
- "8080"
environment:
- NODE_ENV=production
- NUXT_API_BASE_URL=/api/
- NUXT_PUBLIC_BASE_URL=https://goranee.ir
- NUXT_SSR_API_BASE_URL=https://goranee.ir/api
depends_on:
- server
networks:
- default
mongo:
image: ghcr.io/navidshad/chord_library_mongodb:4.4.28
volumes:
- ./database_data:/data/db
restart: always
networks:
- default