Merge branch 'main' into federation/dereferenceable-notes
This commit is contained in:
commit
d2be01d6ea
2 changed files with 13 additions and 0 deletions
|
|
@ -109,6 +109,9 @@ services:
|
||||||
memory: 256M
|
memory: 256M
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
|
# Staging/preview services attach only to trails-shared — created (and
|
||||||
|
# IPv6-enabled) by the production compose project. There is no per-project
|
||||||
|
# default network here, so v6 egress comes from trails-shared itself.
|
||||||
trails-shared:
|
trails-shared:
|
||||||
external: true
|
external: true
|
||||||
name: trails-shared
|
name: trails-shared
|
||||||
|
|
|
||||||
|
|
@ -250,13 +250,23 @@ services:
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
# Default project network — kept implicit for production services.
|
# Default project network — kept implicit for production services.
|
||||||
|
# IPv6 is enabled so the journal can federate with v6-only instances
|
||||||
|
# (e.g. social.ullrich.is). Docker ≥27 auto-allocates a ULA subnet and
|
||||||
|
# NAT66-masquerades egress via the host's public v6 address.
|
||||||
|
# NOTE: flipping this on an existing deployment requires recreating the
|
||||||
|
# network: `docker compose down && docker compose --env-file .env up -d`.
|
||||||
default:
|
default:
|
||||||
|
enable_ipv6: true
|
||||||
# Created by this compose project with a fixed (un-namespaced) name so the
|
# Created by this compose project with a fixed (un-namespaced) name so the
|
||||||
# staging compose project can attach to it via `external: true`. Only
|
# staging compose project can attach to it via `external: true`. Only
|
||||||
# postgres is joined here on the production side; staging containers join
|
# postgres is joined here on the production side; staging containers join
|
||||||
# to reach postgres by hostname.
|
# to reach postgres by hostname.
|
||||||
|
# IPv6-enabled so staging/preview journals — whose only network this is —
|
||||||
|
# get v6 federation egress like production. Recreating it on a live host
|
||||||
|
# requires detaching staging, previews, and postgres first.
|
||||||
trails-shared:
|
trails-shared:
|
||||||
name: trails-shared
|
name: trails-shared
|
||||||
|
enable_ipv6: true
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
caddy_data:
|
caddy_data:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue