-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
62 lines (51 loc) · 996 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# config
x-service: &service
image: node:21-alpine
restart: always
user: root
working_dir: /home/app
entrypoint: yarn
command: dev
dns:
- 8.8.8.8
expose:
- 8000
environment:
- PORT=8000
- APP_ENV=local
- NODE_ENV=local
- TZ=America/Sao_Paulo
services:
# apps
api:
<<: *service
volumes:
- .:/home/app
ports:
- "8000:8000"
# dependencies
minio:
image: bitnami/minio:latest
volumes:
- minio_data:/bitnami/minio/data
ports:
- "9000:9000"
- "9001:9001"
environment:
MINIO_FORCE_NEW_KEYS: yes
MINIO_SCHEME: http
MINIO_DEFAULT_BUCKETS: fshortner
MINIO_ROOT_USER: fshortner
MINIO_ROOT_PASSWORD: thisissecret
redis:
image: "redis:alpine"
mockbin:
image: ghcr.io/kong/insomnia-mockbin
ports:
- "8080:8080"
environment:
DEBUG: mockbin
MOCKBIN_PORT: 8080
MOCKBIN_REDIS: redis://redis:6379
volumes:
minio_data: {}