-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
58 lines (55 loc) · 2.04 KB
/
docker-compose.yml
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
version: "3.3"
services:
kinetic:
image: ghcr.io/kin-labs/kinetic:1.0.0-rc.17
restart: unless-stopped
container_name: kinetic
hostname: kinetic
depends_on:
- postgres
ports:
- '3000:3000'
environment:
# See the .env.example file in the GitHub repo for all available options while we work on the docs.
# https://github.com/kin-labs/kinetic/blob/dev/.env.example
API_URL: "http://localhost:3000/api"
AUTH_PASSWORD_ENABLED: "true"
# Provision users with a coma-separated list.
# Each item has the form: <username>|<password?>|<role?>|<email?>|<avatarUrl?>
AUTH_USERS: "admin|Kinetic1|Admin"
# Provision more apps by providing the byte array of the fee payer, name and optionally a logo URL.
APP_1_FEE_PAYER_SECRET: "UvfuF3FPqLyvS8xGjSu4AUfdsY5QvLdnin8SKBLAi3UqgbmEWCDshPY3UcxvBgRAqHLzh5Ni1eypLVZArsis6FF"
APP_1_NAME: "App 1"
DATABASE_URL: "postgresql://prisma:prisma@postgres:5432/prisma?schema:kinetic"
JWT_SECRET: "ENTER_YOUR_SECRET"
LOG_LEVEL: "ALL"
REDIS_URL: "redis://redis:6379"
# Devnet is enabled by default, you need to explicitly enable mainnet.
SOLANA_DEVNET_ENABLED: "true"
SOLANA_DEVNET_MINT_KIN_AIRDROP_SECRET: "UvfuF3FPqLyvS8xGjSu4AUfdsY5QvLdnin8SKBLAi3UqgbmEWCDshPY3UcxvBgRAqHLzh5Ni1eypLVZArsis6FF"
SOLANA_MAINNET_ENABLED: "false"
logging:
options:
max-size: 100m
postgres:
image: postgres:14-alpine
restart: unless-stopped
container_name: postgres
# Uncomment the following lines to expose the postgres port to the host machine.
# ports:
# - '5432:5432'
environment:
POSTGRES_DB: prisma
POSTGRES_USER: prisma
POSTGRES_PASSWORD: prisma
volumes:
- ./volumes/postgres:/var/lib/postgresql/data
redis:
image: redis:7.0.5-alpine
restart: unless-stopped
container_name: redis
# Uncomment the following lines to expose the redis port to the host machine.
# ports:
# - '6379:6379'
volumes:
- ./volumes/redis:/data