added ocular
This commit is contained in:
15
ocular/compose.yaml
Normal file
15
ocular/compose.yaml
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
# Ocular documentation can be found here:
|
||||||
|
# https://simonwep.github.io/ocular/pages/deploy.html
|
||||||
|
|
||||||
|
services:
|
||||||
|
ocular:
|
||||||
|
image: ghcr.io/simonwep/ocular:v2
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- ./data:/data/genesis
|
||||||
|
ports:
|
||||||
|
- ${PORT:-3030}:80
|
||||||
|
environment:
|
||||||
|
- GENESIS_JWT_SECRET=${GENESIS_JWT_SECRET:?Required Variable}
|
||||||
|
- GENESIS_CREATE_USERS=${GENESIS_CREATE_USERS:-'admin!:admin'}
|
||||||
|
- GENESIS_JWT_TOKEN_EXPIRATION=${GENESIS_JWT_TOKEN_EXPIRATION:-60}
|
||||||
11
ocular/example.env
Normal file
11
ocular/example.env
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# JWT secret known only to your token generator
|
||||||
|
# You can use `openssl rand -base64 48` for this.
|
||||||
|
GENESIS_JWT_SECRET=insert-a-very-long-random-string-here
|
||||||
|
|
||||||
|
# JWT expiration in minutes
|
||||||
|
GENESIS_JWT_TOKEN_EXPIRATION=60
|
||||||
|
|
||||||
|
# Use ! as suffix for the username to indicate that this user should be created as an admin.
|
||||||
|
# Admins can add, remove and edit users, you can create multiple users by separating them with a comma.
|
||||||
|
# Comment this out if you already have users created!
|
||||||
|
# GENESIS_CREATE_USERS=my-admin-username!:my-very-secure-password
|
||||||
Reference in New Issue
Block a user