Skip to content

Commit

Permalink
Merge pull request #630 from leepeuker/improve-env-template
Browse files Browse the repository at this point in the history
Extend the example environment file with all available options
  • Loading branch information
leepeuker authored Feb 1, 2025
2 parents 5262d96 + dadefb0 commit cf50d46
Show file tree
Hide file tree
Showing 2 changed files with 80 additions and 5 deletions.
82 changes: 77 additions & 5 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,8 +1,80 @@
# More info here: https://docs.movary.org/configuration/
# This file contains an overview about all available environemnt availables.
# Uncomment and adjust the key value pairs you want to set.
# The only functional mandetory value is TMDB_API_KEY.
#
# More configuration info here: https://docs.movary.org/configuration/

TIMEZONE="UTC"
###############
### GENERAL ###
###############

TMDB_API_KEY=XXXXXXXXXXX
TMDB_ENABLE_IMAGE_CACHING=1
# REQUIRED! Get your API key here: https://www.themoviedb.org/settings/api
TMDB_API_KEY=

LOG_LEVEL=warning
# Public base url (e.g. htttp://localhost) and name of the application
# APPLICATION_URL=
# APPLICATION_NAME=Movary

# Supported timezones here: https://www.php.net/manual/en/timezones.php
# TIMEZONE=UTC

# Application name, displayed e.g. as brand name in the navbar
# TMDB_ENABLE_IMAGE_CACHING=0

################
### DATABASE ###
################

# Select which database mode to use (sqlite or mysql)
# DATABASE_MODE=sqlite

# SQLite configuration
# DATABASE_SQLITE=storage/movary.sqlite

# MySQL configuration
# DATABASE_MYSQL_HOST=
# DATABASE_MYSQL_PORT=3306
# DATABASE_MYSQL_NAME=
# DATABASE_MYSQL_USER=
# DATABASE_MYSQL_PASSWORD=
# DATABASE_MYSQL_CHARSET=utf8mb4

# Disable automatic database migrations on docker container startup
# DATABASE_DISABLE_AUTO_MIGRATION=0

###############
### Logging ###
###############

# Uses RFC 5424 severity levels
# LOG_LEVEL=warning

# Enable stack traces for e.g. debugging issues, increases log size
# LOG_ENABLE_STACKTRACE=0

# Persist logs to a file in directory storage/logs
# LOG_ENABLE_FILE_LOGGING=1

################################
### Third party integrations ###
################################

# Required for Plex Authentication. Generate with e.g. openssl rand -base64 32
# PLEX_IDENTIFIER=
# PLEX_APP_NAME=Movary

# Required for Plex Authentication. Generate with e.g. openssl rand -base64 32
# JELLYFIN_DEVICE_ID=
# JELLYFIN_APP_NAME=Movary

##############
### DOCKER ###
##############

# Used as docker build arguments (get your uid via e.g. echo $UID), rebuild images on change
# USER_ID=3000
# GROUP_ID=3000

# Web ports on host the docker compose setup uses, restart containers on change
# HTTP_PORT=80
# HTTP_PORT_DOCS=8000
3 changes: 3 additions & 0 deletions build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ FROM composer:latest AS composer

FROM trafex/php-nginx AS base

LABEL Description="Movary is a self hosted web app to track and rate your watched movies"
LABEL Maintainer="Lee Peuker"

ARG USER_ID=3000
ARG GROUP_ID=3000

Expand Down

0 comments on commit cf50d46

Please sign in to comment.