LookingGlass/docker-compose.yml
Renovate c6f6f0d5c1
chore(deps): update postgres:17.2 docker digest to 3267c50 (#16)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| postgres | digest | `87ec5e0` -> `3267c50` |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNTYuMCIsInVwZGF0ZWRJblZlciI6IjM5LjE1Ni4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJLaW5kL1Jlbm92YXRlIl19-->

Reviewed-on: https://www.coastalcommits.com/cswimr/LookingGlass/pulls/16
Co-authored-by: Renovate <renovate@coastalcommits.com>
Co-committed-by: Renovate <renovate@coastalcommits.com>
2025-02-07 23:52:32 -05:00

55 lines
2.7 KiB
YAML

services:
looking-glass:
image: www.coastalcommits.com/cswimr/lookingglass:latest
ports:
- 8000:8000
environment:
# All of the environment variables present here use double underscores (__), NOT single underscores (_).
# The only exception is the `ASPNETCORE_URLS` environment variable, which uses single underscores.
# This is used to push data into Zenith Info from the game.
# `openssl rand -hex 64` is a good way to generate a random value. DO NOT CHECK THIS INTO GIT!
CONFIGURATION__AUTHTOKEN: "CHANGE-ME"
# This is used to configure the IP address and port that the application will listen on.
# 0.0.0.0 is used to listen on all available IP addresses.
# Alternatively, you can specify localhost or 127.0.0.1 to listen on only the local machine.
# Multiple IP address / port combinations can be specified, separated by semicolons.
# Example: http://0.0.0.0:8000;http://127.0.0.1:8000 - Listen on all available IP addresses on port 8000, as well as only on the local machine on port 8000. (Redundant)
ASPNETCORE_URLS: "http://0.0.0.0:8000"
# The only current valid value is `PostgresSQL`. This is used to determine which database type to use.
CONFIGURATION__DATABASETYPE: "PostgresSQL"
CONFIGURATION__DATABASECONNECTIONSTRING: "postgres://LookingGlass:LookingGlass@postgres:5432/LookingGlass"
# Determines the log level for the application's default logger.
# Valid values are `Trace`, `Debug`, `Information`, `Warning`, `Error`, and `Critical`.
# `Trace` is the most verbose, and is recommended for development.
# `Information` is the default, and is recommended for production.
LOGGING__LOGLEVEL__DEFAULT: "Information"
# This is used to log requests to the application.
# If you are concerned about security or privacy, you should disable this.
CONFIGURATION__LOGREQUESTS: true
# Using Sentry will send errors to my personal Sentry instance, https://sentry.csw.im/
# This is not required for the application to run, but it is recommended for debugging purposes.
CONFIGURATION__USESENTRY: true
# This is used to enable Swagger API Documentation for the application.
# If enabled, you can access the API documentation at the /swagger/index.html endpoint.
CONFIGURATION__USESWAGGER: true
database:
container_name: looking-glass-db
image: postgres:17.2@sha256:3267c505060a0052e5aa6e5175a7b41ab6b04da2f8c4540fc6e98a37210aa2d3
restart: always
environment:
POSTGRES_USER: LookingGlass
POSTGRES_PASSWORD: LookingGlass
POSTGRES_DB: LookingGlass
volumes:
- postgres-data:/var/lib/postgresql/data
volumes:
postgres-data: