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

View file

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