-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.override.yml
83 lines (75 loc) · 1.85 KB
/
docker-compose.override.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
services:
frontend:
build:
context: frontend
dockerfile: Dockerfile
target: git-installed
environment:
- NODE_ENV=development
- 'KITSPACE_PROCESSOR_ASSET_URL=http://processor-bucket.kitspace-minio.test:3000/${KITSPACE_PROCESSOR_ASSET_VERSION}'
ports:
- '1234:3000'
- '9229:9229'
volumes:
- /etc/hosts:/etc/hosts:ro
- ./frontend:/app
- frontend-node_modules:/app/node_modules
- frontend-next:/app/.next
command: /bin/sh --verbose -c 'yarn install && yarn dev'
gitea:
ports:
- '3333:3000'
- '2222:22'
volumes:
- ./gitea:/go/src/code.gitea.io/gitea
postgres:
ports:
- '5432:5432'
nginx:
environment:
- 'USE_LOCAL_MINIO=true'
build:
context: nginx
dockerfile: Dockerfile
processor:
user: root
build:
context: processor/
dockerfile: Dockerfile
environment:
- NODE_ENV=development
- 'USE_LOCAL_MINIO=true'
- S3_ENDPOINT=http://kitspace-minio.test:3000
- S3_PROCESSOR_BUCKET_NAME=processor-bucket
volumes:
- /etc/hosts:/etc/hosts:ro
- ./processor:/app
- processor-node_modules:/app/node_modules
command: /bin/bash --verbose -c 'yarn install && yarn dev'
depends_on:
- minio
minio:
image: quay.io/minio/minio:RELEASE.2022-10-24T18-35-07Z
ports:
- '9000:9000'
- '9090:9090'
environment:
- MINIO_DOMAIN=kitspace-minio.test
- MINIO_ROOT_USER=${S3_ACCESS_KEY}
- MINIO_ROOT_PASSWORD=${S3_SECRET_KEY}
volumes:
- minio-data:/data
command: server /data --console-address ":9090"
redis:
ports:
- '6379:6379'
meilisearch:
ports:
- '7700:7700'
environment:
- MEILI_ENV=development
volumes:
frontend-node_modules:
frontend-next:
processor-node_modules:
minio-data: