Allow lemmy-ui and pictrs to access external network. Fixes #96 (#97)

This commit is contained in:
Dessalines 2023-06-23 12:56:01 -04:00 committed by GitHub
parent cd5c25c6ac
commit 01b7fdcc75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -52,6 +52,7 @@ services:
image: {{ lemmy_docker_ui_image }}
networks:
- lemmyinternal
- lemmyexternalproxy
environment:
- LEMMY_UI_LEMMY_INTERNAL_HOST=lemmy:8536
- LEMMY_UI_LEMMY_EXTERNAL_HOST={{ domain }}
@ -71,6 +72,7 @@ services:
# entrypoint: /sbin/tini -- /usr/local/bin/pict-rs -p /mnt -m 4 --image-format webp
networks:
- lemmyinternal
- lemmyexternalproxy
environment:
- PICTRS_OPENTELEMETRY_URL=http://otel:4137
- PICTRS__API_KEY=API_KEY