3 x-ui-default: &ui-default
4 image: dessalines/lemmy-ui:0.17.3
5 # assuming lemmy-ui is cloned besides lemmy directory
7 # context: ../../../lemmy-ui
8 # dockerfile: dev.dockerfile
10 - LEMMY_UI_HTTPS=false
12 x-lemmy-default: &lemmy-default
13 image: lemmy-federation:latest
16 - RUST_LOG="warn,lemmy_server=debug,lemmy_api=debug,lemmy_api_common=debug,lemmy_api_crud=debug,lemmy_apub=debug,lemmy_db_schema=debug,lemmy_db_views=debug,lemmy_db_views_actor=debug,lemmy_db_views_moderator=debug,lemmy_routes=debug,lemmy_utils=debug,lemmy_websocket=debug"
19 x-postgres-default: &postgres-default
20 image: postgres:15-alpine
23 - POSTGRES_PASSWORD=password
37 - ./nginx.conf:/etc/nginx/nginx.conf:Z
49 image: asonix/pictrs:0.4.0-beta.19
52 - ./volumes/pictrs_alpha:/mnt:Z
57 - LEMMY_UI_LEMMY_INTERNAL_HOST=lemmy-alpha:8541
58 - LEMMY_UI_LEMMY_EXTERNAL_HOST=localhost:8541
64 - ./lemmy_alpha.hjson:/config/config.hjson:Z
72 - ./volumes/postgres_alpha:/var/lib/postgresql/data:Z
77 - LEMMY_UI_LEMMY_INTERNAL_HOST=lemmy-beta:8551
78 - LEMMY_UI_LEMMY_EXTERNAL_HOST=localhost:8551
84 - ./lemmy_beta.hjson:/config/config.hjson:Z
92 - ./volumes/postgres_beta:/var/lib/postgresql/data:Z
97 - LEMMY_UI_LEMMY_INTERNAL_HOST=lemmy-gamma:8561
98 - LEMMY_UI_LEMMY_EXTERNAL_HOST=localhost:8561
104 - ./lemmy_gamma.hjson:/config/config.hjson:Z
110 <<: *postgres-default
112 - ./volumes/postgres_gamma:/var/lib/postgresql/data:Z
114 # An instance with only an allowlist for beta
118 - LEMMY_UI_LEMMY_INTERNAL_HOST=lemmy-delta:8571
119 - LEMMY_UI_LEMMY_EXTERNAL_HOST=localhost:8571
125 - ./lemmy_delta.hjson:/config/config.hjson:Z
131 <<: *postgres-default
133 - ./volumes/postgres_delta:/var/lib/postgresql/data:Z
135 # An instance who has a blocklist, with lemmy-alpha blocked
139 - LEMMY_UI_LEMMY_INTERNAL_HOST=lemmy-epsilon:8581
140 - LEMMY_UI_LEMMY_EXTERNAL_HOST=localhost:8581
146 - ./lemmy_epsilon.hjson:/config/config.hjson:Z
152 <<: *postgres-default
154 - ./volumes/postgres_epsilon:/var/lib/postgresql/data:Z