This repository has been archived by the owner on Jul 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
111 lines (101 loc) · 2.21 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
version: "3.7"
services:
node-installer:
image: node:20.11.1
volumes:
- ./:/home/node/project
environment:
npm_config_cache: /home/node/cache
working_dir: /home/node/project
user: 1000:1000
command: npm i
duplo:
image: node:20.11.1
volumes:
- ./:/home/node/project
ports:
- 5555:5555
environment:
npm_config_cache: /home/node/cache
working_dir: /home/node/project
user: 1000:1000
command: npm run dev:duplo
depends_on:
node-installer:
condition: service_completed_successfully
vue:
image: node:20.11.1
volumes:
- ./:/home/node/project
environment:
npm_config_cache: /home/node/cache
working_dir: /home/node/project
user: 1000:1000
command: npm run dev:vue
depends_on:
node-installer:
condition: service_completed_successfully
nginx:
image: nginx
volumes:
- ./nginx.conf:/etc/nginx/conf.d/default.conf
ports:
- 1506:80
depends_on:
- vue
- duplo
attach: false
minio:
image: minio/minio:latest
ports:
- 8900:8900
env_file: ./duplo/.env
volumes:
- "minio_data:/data/minio"
command: server /data/minio --console-address ":8900"
postgres:
image: postgres:16.2
env_file: ./duplo/.env
volumes:
- postgres_data:/var/lib/postgresql/data
attach: false
mongo-viewer:
image: mongo-express
ports:
- 8081:8081
env_file: ./duplo/.env
mongo:
image: mongo
env_file: ./duplo/.env
volumes:
- "mongo_data:/data/db"
attach: false
maildev:
image: maildev/maildev
ports:
- 1080:1080
- 1025:1025
stripe-installer:
image: stripe/stripe-cli
env_file: ./duplo/.env.local
volumes:
- ./stripe:/home
entrypoint: /bin/sh
command: /home/cp.sh
cron:
image: node:20.11.1
environment:
npm_config_cache: /home/node/cache
user: 1000:1000
env_file: ./duplo/.env
working_dir: /home/node/project
volumes:
- ./:/home/node/project
command: npm run cron
depends_on:
node-installer:
condition: service_completed_successfully
volumes:
postgres_data:
mongo_data:
minio_data: