5 image: nginx:1.17-alpine
13 # Hack to make this work from both docker/federation/ and docker/federation-test/
14 - ../federation/nginx.conf:/etc/nginx/nginx.conf
27 image: asonix/pictrs:v0.1.13-r0
30 - ./volumes/pictrs_alpha:/mnt
33 image: lemmy-federation:latest
35 - LEMMY_HOSTNAME=lemmy-alpha:8540
36 - LEMMY_DATABASE_URL=postgres://lemmy:password@postgres_alpha:5432/lemmy
37 - LEMMY_JWT_SECRET=changeme
38 - LEMMY_FRONT_END_DIR=/app/dist
39 - LEMMY_FEDERATION__ENABLED=true
40 - LEMMY_FEDERATION__TLS_ENABLED=false
41 - LEMMY_FEDERATION__ALLOWED_INSTANCES=lemmy-beta,lemmy-gamma,lemmy-delta,lemmy-epsilon
43 - LEMMY_SETUP__ADMIN_USERNAME=lemmy_alpha
44 - LEMMY_SETUP__ADMIN_PASSWORD=lemmy
45 - LEMMY_SETUP__SITE_NAME=lemmy-alpha
46 - LEMMY_RATE_LIMIT__POST=99999
47 - LEMMY_RATE_LIMIT__REGISTER=99999
48 - LEMMY_CAPTCHA__ENABLED=false
54 image: postgres:12-alpine
57 - POSTGRES_PASSWORD=password
60 - ./volumes/postgres_alpha:/var/lib/postgresql/data
63 image: lemmy-federation:latest
65 - LEMMY_HOSTNAME=lemmy-beta:8550
66 - LEMMY_DATABASE_URL=postgres://lemmy:password@postgres_beta:5432/lemmy
67 - LEMMY_JWT_SECRET=changeme
68 - LEMMY_FRONT_END_DIR=/app/dist
69 - LEMMY_FEDERATION__ENABLED=true
70 - LEMMY_FEDERATION__TLS_ENABLED=false
71 - LEMMY_FEDERATION__ALLOWED_INSTANCES=lemmy-alpha,lemmy-gamma,lemmy-delta,lemmy-epsilon
73 - LEMMY_SETUP__ADMIN_USERNAME=lemmy_beta
74 - LEMMY_SETUP__ADMIN_PASSWORD=lemmy
75 - LEMMY_SETUP__SITE_NAME=lemmy-beta
76 - LEMMY_RATE_LIMIT__POST=99999
77 - LEMMY_RATE_LIMIT__REGISTER=99999
78 - LEMMY_CAPTCHA__ENABLED=false
84 image: postgres:12-alpine
87 - POSTGRES_PASSWORD=password
90 - ./volumes/postgres_beta:/var/lib/postgresql/data
93 image: lemmy-federation:latest
95 - LEMMY_HOSTNAME=lemmy-gamma:8560
96 - LEMMY_DATABASE_URL=postgres://lemmy:password@postgres_gamma:5432/lemmy
97 - LEMMY_JWT_SECRET=changeme
98 - LEMMY_FRONT_END_DIR=/app/dist
99 - LEMMY_FEDERATION__ENABLED=true
100 - LEMMY_FEDERATION__TLS_ENABLED=false
101 - LEMMY_FEDERATION__ALLOWED_INSTANCES=lemmy-alpha,lemmy-beta,lemmy-delta,lemmy-epsilon
103 - LEMMY_SETUP__ADMIN_USERNAME=lemmy_gamma
104 - LEMMY_SETUP__ADMIN_PASSWORD=lemmy
105 - LEMMY_SETUP__SITE_NAME=lemmy-gamma
106 - LEMMY_RATE_LIMIT__POST=99999
107 - LEMMY_RATE_LIMIT__REGISTER=99999
108 - LEMMY_CAPTCHA__ENABLED=false
114 image: postgres:12-alpine
116 - POSTGRES_USER=lemmy
117 - POSTGRES_PASSWORD=password
120 - ./volumes/postgres_gamma:/var/lib/postgresql/data
122 # An instance with only an allowlist for beta
124 image: lemmy-federation:latest
126 - LEMMY_HOSTNAME=lemmy-delta:8570
127 - LEMMY_DATABASE_URL=postgres://lemmy:password@postgres_delta:5432/lemmy
128 - LEMMY_JWT_SECRET=changeme
129 - LEMMY_FRONT_END_DIR=/app/dist
130 - LEMMY_FEDERATION__ENABLED=true
131 - LEMMY_FEDERATION__TLS_ENABLED=false
132 - LEMMY_FEDERATION__ALLOWED_INSTANCES=lemmy-beta
134 - LEMMY_SETUP__ADMIN_USERNAME=lemmy_delta
135 - LEMMY_SETUP__ADMIN_PASSWORD=lemmy
136 - LEMMY_SETUP__SITE_NAME=lemmy-delta
137 - LEMMY_RATE_LIMIT__POST=99999
138 - LEMMY_RATE_LIMIT__REGISTER=99999
139 - LEMMY_CAPTCHA__ENABLED=false
145 image: postgres:12-alpine
147 - POSTGRES_USER=lemmy
148 - POSTGRES_PASSWORD=password
151 - ./volumes/postgres_delta:/var/lib/postgresql/data
153 # An instance who has a blocklist, with lemmy-alpha blocked
155 image: lemmy-federation:latest
157 - LEMMY_HOSTNAME=lemmy-epsilon:8580
158 - LEMMY_DATABASE_URL=postgres://lemmy:password@postgres_epsilon:5432/lemmy
159 - LEMMY_JWT_SECRET=changeme
160 - LEMMY_FRONT_END_DIR=/app/dist
161 - LEMMY_FEDERATION__ENABLED=true
162 - LEMMY_FEDERATION__TLS_ENABLED=false
163 - LEMMY_FEDERATION__BLOCKED_INSTANCES=lemmy-alpha
165 - LEMMY_SETUP__ADMIN_USERNAME=lemmy_epsilon
166 - LEMMY_SETUP__ADMIN_PASSWORD=lemmy
167 - LEMMY_SETUP__SITE_NAME=lemmy-epsilon
168 - LEMMY_RATE_LIMIT__POST=99999
169 - LEMMY_RATE_LIMIT__REGISTER=99999
170 - LEMMY_CAPTCHA__ENABLED=false
176 image: postgres:12-alpine
178 - POSTGRES_USER=lemmy
179 - POSTGRES_PASSWORD=password
182 - ./volumes/postgres_epsilon:/var/lib/postgresql/data
185 image: dogbin/iframely:latest
187 - ../iframely.config.local.js:/iframely/config.local.js:ro