-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
76 lines (76 loc) · 1.4 KB
/
docker-compose.yml
File metadata and controls
76 lines (76 loc) · 1.4 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
networks:
nmenet:
volumes:
lagrange:
nmeboot:
swap:
sql-playground:
db:
services:
lagrange:
image: ghcr.io/lagrangedev/lagrange.onebot:edge
container_name: Lagrange.OneBot
volumes:
- lagrange:/app/data
- swap:/swap
networks:
- nmenet
restart: always
tty: true
scripting:
build: scripting
container_name: NMEBoot2.Scripting
volumes:
- nmeboot-scripting:/app
- swap:/swap
networks:
- nmenet
restart: always
tty: true
stdin_open: false
sql-playground:
build: sql-playground
container_name: NMEBoot2.SQLPlayground
networks:
- nmenet
restart: always
environment:
POSTGRES_PASSWORD: CHANGE_ME
volumes:
- sql-playground:/var/lib/postgresql
db:
image: postgres:latest
restart: always
shm_size: 128mb
environment:
POSTGRES_PASSWORD: CHANGE_ME
POSTGRES_DB: nmeboot
networks:
- nmenet
volumes:
- db:/var/lib/postgresql
ports:
- "5433:5432"
adminer:
image: adminer
restart: always
networks:
- nmenet
ports:
- "8099:8080"
nmeboot:
depends_on:
- lagrange
- scripting
- sql-playground
- db
build: core
container_name: NMEBoot2
volumes:
- nmeboot:/app
- swap:/swap
networks:
- nmenet
restart: unless-stopped
tty: true
stdin_open: true