-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcompose.yml
More file actions
49 lines (47 loc) · 1.17 KB
/
compose.yml
File metadata and controls
49 lines (47 loc) · 1.17 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
services:
view:
build: ./view
container_name: "nutfes-finansu-view"
user: "1000:1000"
volumes:
- ./view:/app
- ./openapi:/openapi
- pnpm-store:/app/.pnpm-store
command: sh -c "pnpm install && pnpm run dev"
ports:
- "3000:3000"
- "6006:6006"
stdin_open: true
environment:
NEXT_PUBLIC_APP_ENV: development
NEXT_PUBLIC_ENDPOINT: minio
NEXT_PUBLIC_PORT: 9000
NEXT_PUBLIC_BUCKET_NAME: finansu
NEXT_PUBLIC_MINIO_ENDPONT: http://localhost:9000
NEXT_PUBLIC_ACCESS_KEY: user
NEXT_PUBLIC_SECRET_KEY: password
RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED: false
tty: true
api:
build:
context: ./api
dockerfile: dev.Dockerfile
container_name: "nutfes-finansu-api"
user: "1000:1000"
volumes:
- ./api:/app
- ./openapi:/openapi
- go-cache:/go/cache
- go-mod-cache:/go/pkg/mod
environment:
RESET_PASSWORD_URL: "http://localhost:3000/reset_password"
command: "air -c .air.toml"
env_file: ["./finansu.env"]
ports:
- "1323:1323"
stdin_open: true
tty: true
volumes:
pnpm-store:
go-cache:
go-mod-cache: