forked from zuohuadong/elygate
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose-remote.yml
More file actions
48 lines (44 loc) 路 1.1 KB
/
Copy pathdocker-compose-remote.yml
File metadata and controls
48 lines (44 loc) 路 1.1 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
version: "3.8"
services:
# ____ PostgreSQL with pgvector + pg_cron + pg_bigm ________
db:
image: pgsty/pigsty:v4.2.0
container_name: elygate-db
restart: always
privileged: true
ports:
- "5432:5432"
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- pgdata:/data
- ./packages/db/src/init.sql:/tmp/init.sql:ro
# ____ Gateway (Bun + Elysia) ______________________________
gateway:
build:
context: .
dockerfile: docker/Dockerfile.gateway
container_name: elygate-gateway
restart: always
env_file: .env
environment:
DATABASE_URL: postgresql://dbuser_dba:DBUser.DBA@db:5432/postgres
ports:
- "3000:3000"
depends_on:
- db
# ____ Web Admin Panel (SvelteKit + Bun) __________________
web:
build:
context: .
dockerfile: docker/Dockerfile.web
container_name: elygate-web
restart: always
env_file: .env
environment:
VITE_API_BASE_URL: http://gateway:3000
ports:
- "3001:3001"
depends_on:
- gateway
volumes:
pgdata: