-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move all pict-rs environmentals to external variables file
- Rename pictrs.yml to vars.yml - Start moving some variables to vars.yml for easier management and discoverability
- Loading branch information
Showing
5 changed files
with
25 additions
and
25 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
postgres_password: "{{ lookup('password', 'inventory/host_vars/{{domain}}/passwords/postgres.psk chars=ascii_letters,digits') }}" | ||
|
||
# You can set any pict-rs environmental variables here. They will populate the templates/docker-compose.yml file. | ||
# https://git.asonix.dog/asonix/pict-rs | ||
pictrs_env_vars: | ||
- PICTRS__SERVER__API_KEY: {{ postgres_password }} | ||
- PICTRS__MEDIA__VIDEO_CODEC: vp9 | ||
- PICTRS__MEDIA__GIF__MAX_WIDTH: 256 | ||
- PICTRS__MEDIA__GIF__MAX_HEIGHT: 256 | ||
- PICTRS__MEDIA__GIF__MAX_AREA: 65536 | ||
- PICTRS__MEDIA__GIF__MAX_FRAME_COUNT: 400 | ||
- PICTRS_OPENTELEMETRY_URL: http://otel:4137 | ||
- RUST_LOG: debug | ||
- RUST_BACKTRACE: full | ||
# - PICTRS__STORE__TYPE: object_storage | ||
# - PICTRS__STORE__ENDPOINT: '<S3 endpoint>' | ||
# - PICTRS__STORE__BUCKET_NAME: '<bucket name>' | ||
# - PICTRS__STORE__REGION: '<region>' | ||
# - PICTRS__STORE__USE_PATH_STYLE: false | ||
# - PICTRS__STORE__ACCESS_KEY: '<access key>' | ||
# - PICTRS__STORE__SECRET_KEY: '<secret key>' | ||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters