-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
20 lines (20 loc) · 922 Bytes
/
Copy path.env.example
File metadata and controls
20 lines (20 loc) · 922 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
MAPCTF_VERSION=1.0.0
POSTGRES_VERSION=18.1-alpine3.22
POSTGRES_DB_NAME=mapctf-db
POSTGRES_DB_PORT=5432
POSTGRES_DB_USERNAME=mapctf
POSTGRES_DB_PASSWORD=mapctf
REDIS_VERSION=8.4.0-alpine3.22
REDIS_PORT=6379
GOLANG_VERSION=1.27.1
MAPCTF_USERNAME=admin
# Leave MAPCTF_PASSWORD empty to have a strong random password generated on first boot and
# printed to the mapctf-cli container log. Set it only for throwaway local stacks or CI.
MAPCTF_PASSWORD=
# Namespaces every route and all game data. Must be non-empty and stable across restarts;
# use a real UUID for anything other than a local stack.
MAP_UUID=local-dev
# Required by mapctf-api, which signs admin tokens with it. This value is for the local
# development stack only -- it is committed, so treat it as public. Real deployments should use
# the random secret `config-generate` writes, or their own long random string.
JWT_SECRET=dev-only-insecure-secret-change-me