feat: add Docker support
This commit is contained in:
13
.env.default
13
.env.default
@@ -1,9 +1,13 @@
|
||||
# ========== Global config ==========
|
||||
|
||||
DB_DATA_LOCATION=./db # Relative path in which database should be stored.
|
||||
CURRENT_DIRECTORY_ABSOLUTE_PATH=/path/to/kittyurl/ # Absolute path to current directory. Note the trailing slash.
|
||||
|
||||
# ============= Backend =============
|
||||
BACKEND_PORT=6567 # Port on which the backend service should listen to requests.
|
||||
BACKEND_VERSION=latest # Want to use a specific image for backend? Put the branch here followed by a release tag (like master-v1.2.3). Otherwise the latest one will get pulled.
|
||||
BACKEND_PORT=6567 # Port on which the backend service should listen to requests.
|
||||
BACKEND_VERSION=latest # Want to use a specific image for backend? Put the branch here followed by a release tag (like master-v1.2.3). Otherwise the latest one will get pulled.
|
||||
ACCESS_TOKEN_PRIVATE_KEY=CHANGE_ME_TO_SOMETHING_RANDOM # Used to generate user tokens. Make sure this is pretty random.
|
||||
TRUSTED_ORIGINS=http://localhost:6568,http://127.0.0.1:6568 # Comma separated list of trusted origins. Make sure to include your PUBLIC_URL here.
|
||||
PATH_TO_WORDLIST=kittyBE/wordlist.example-large.ts # Relative path (considering CURRENT_DIRECTORY_ABSOLUTE_PATH) to wordlist to use when generating URLs. Note there is no slash at start.
|
||||
|
||||
# Postgres and TypeORM
|
||||
PG_USER=kitty
|
||||
@@ -21,3 +25,6 @@ DEBUG=false # Set to `false` to disable some features not mea
|
||||
# ============ Frontend ============
|
||||
FRONTEND_PORT=6568 # Port on which the frontend service should listen to requests.
|
||||
FRONTEND_VERSION=latest # Want to use a specific image for frontend? Put the branch here followed by a release tag (like master-v1.2.3). Otherwise the latest one will get pulled.
|
||||
|
||||
VITE_API_TARGET=http://localhost:6567 # The backend API base URL you want to use.
|
||||
VITE_ALLOWED_HOST=example.com # Hosts allowed when visiting frontend. Probably should match PUBLIC_URL (tweak this when running a reverse proxy). To allow subdomains, add a dot (.) before the host address (vite.dev/config/server-options#server-allowedhosts).
|
||||
|
||||
Reference in New Issue
Block a user