eduardogsilva.routerfleet/.env.example
2025-02-20 16:21:23 -03:00

22 lines
1.1 KiB
Text

# Configure SERVER_ADDRESS to match the address of the server. If you don't have a DNS name, you can use the IP address.
# A missconfigured SERVER_ADDRESS will cause the app to have CSRF errors.
# If you're using a different port for HTTPS in the docker-compose.yml, you need to specify it as <my_server_address>:<port_number>
SERVER_ADDRESS=my_server_address
DEBUG_MODE=False
# Choose a timezone from https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
TIMEZONE=America/Sao_Paulo
# Available options are 'sqlite', 'postgres'
DATABASE_ENGINE=postgres
# If you want to use sqlite or postgres outside of docker, you should use docker-compose-no-postgres.yml
# and provide POSTGRES_HOST, POSTGRES_PORT below.
#POSTGRES_HOST=
#POSTGRES_PORT=
POSTGRES_DB=routerfleet
POSTGRES_USER=routerfleet
POSTGRES_PASSWORD=your_database_password
# If you need to serve the app using HTTP and HTTPS, change the following variable to 'never'
# Using HTTP is not recommended, as it is less secure and your passwords will be sent in plain text.
# Use with caution.
HTTPS_REDIRECT_POLICY=always