-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
81 lines (74 loc) · 1.53 KB
/
compose.yaml
File metadata and controls
81 lines (74 loc) · 1.53 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
services:
api:
build:
context: .
dockerfile: apps/api/Dockerfile
ports:
- "127.0.0.1:3002:3000"
depends_on:
- database
env_file:
- apps/api/.env.staging
container_name: me-api-container
networks:
- me-network
admin:
build:
context: .
dockerfile: apps/admin/Dockerfile
args:
- VITE_API_URL=${ADMIN_API_URL}
ports:
- "127.0.0.1:5174:5174"
depends_on:
- api
container_name: me-admin-container
networks:
- me-network
web:
build:
context: .
dockerfile: apps/web/Dockerfile
args:
- PUBLIC_API_URL=${WEB_API_URL}
network: host
ports:
- "127.0.0.1:4322:4322"
depends_on:
- api
container_name: me-web-container
networks:
- me-network
database:
image: postgres:17-alpine
container_name: me-postgres-db
networks:
- me-network
ports:
- "127.0.0.1:5433:5432"
volumes:
- me-postgres-db:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=postgres
- POSTGRES_USER=postgres
- POSTGRES_DB=me
drizzle-gateway:
image: ghcr.io/drizzle-team/gateway:1.2.0
container_name: me-drizzle-gateway-container
restart: always
env_file:
- .env
ports:
- "127.0.0.1:4995:${PORT}"
volumes:
- drizzle-gateway:${STORE_PATH}
networks:
- me-network
volumes:
me-postgres-db:
driver: local
drizzle-gateway:
driver: local
networks:
me-network:
name: me-network