-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
23 lines (21 loc) · 824 Bytes
/
Copy pathdocker-compose.yaml
File metadata and controls
23 lines (21 loc) · 824 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
volumes:
surmai_data:
services:
surmai_server:
container_name: surmai_server
image: ghcr.io/rohitkumbhar/surmai:main
volumes:
- surmai_data:/pb_data
ports:
- "9090:8080"
restart: always
environment:
SURMAI_ADMIN_EMAIL: admin@example.com # Add your default administrator email
SURMAI_ADMIN_PASSWORD: ChangeMe123#@! # Admin password. Min 9 characters with all the fixings
PB_DATA_DIRECTORY: /pb_data # Must match volume directory above
# SURMAI_DEMO_MODE: true # Enable Demo mode
# Optional environment variables are used by
# Litestream replication to s3 (-compatible) storage
# SURMAI_DB_BKP_BUCKET_URL: s3://bucket.endpoint.url/folder
# SURMAI_DB_BKP_ACCESS_KEY_ID: s3_access_key_id
# SURMAI_DB_BKP_ACCESS_KEY_SECRET: s3_access_key_secret