-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
57 lines (51 loc) · 1.19 KB
/
Copy pathcompose.yml
File metadata and controls
57 lines (51 loc) · 1.19 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
services:
# Viewer
flare:
image: ghcr.io/serlithnetwork/flare-viewer:latest
restart: unless-stopped
container_name: flare
expose:
- "3000"
networks:
- web
# Backend
jet:
image: ghcr.io/serlithnetwork/jet:latest
container_name: jet
restart: unless-stopped
expose:
- "9420"
volumes:
- jet_pictures:/opt/jet/pictures
- jet_config:/opt/jet/config
environment:
JET_MAX_REQUEST_SIZE: "500KB"
JET_DATABASE_URL: "r2dbc:postgresql://database:5432/flare"
JET_DATABASE_USER: "flare"
JET_DATABASE_PASSWORD: "<database-password>"
JET_MANAGER_USERNAME: "admin"
JET_MANAGER_PASSWORD: "<admin-password>"
JET_CORS_ALLOWED_ORIGINS: "https://flare.serlith.net"
networks:
- "web"
# PostgreSQL Database
database:
image: postgres
restart: always
container_name: postgres
expose:
- "5432"
networks:
- web
volumes:
- database_data:/var/lib/postgresql
environment:
POSTGRES_DATA: "/var/lib/postgresql"
POSTGRES_PASSWORD: "<database-password>"
volumes:
jet_pictures: {}
jet_config: {}
database_data: {}
networks:
web:
external: false