5 image: nginx:1.17-alpine
11 # Hack to make this work from both docker/federation/ and docker/federation-test/
12 - ../federation/nginx.conf:/etc/nginx/nginx.conf
23 image: asonix/pictrs:v0.1.13-r0
26 - ./volumes/pictrs_alpha:/mnt
29 image: lemmy-federation:latest
31 - LEMMY_HOSTNAME=lemmy-alpha:8540
32 - LEMMY_DATABASE_URL=postgres://lemmy:password@postgres_alpha:5432/lemmy
33 - LEMMY_JWT_SECRET=changeme
34 - LEMMY_FRONT_END_DIR=/app/dist
35 - LEMMY_FEDERATION__ENABLED=true
36 - LEMMY_FEDERATION__TLS_ENABLED=false
37 - LEMMY_FEDERATION__ALLOWED_INSTANCES=lemmy-beta,lemmy-gamma
39 - LEMMY_SETUP__ADMIN_USERNAME=lemmy_alpha
40 - LEMMY_SETUP__ADMIN_PASSWORD=lemmy
41 - LEMMY_SETUP__SITE_NAME=lemmy-alpha
42 - LEMMY_RATE_LIMIT__POST=99999
43 - LEMMY_RATE_LIMIT__REGISTER=99999
44 - LEMMY_CAPTCHA__ENABLED=false
50 image: postgres:12-alpine
53 - POSTGRES_PASSWORD=password
56 - ./volumes/postgres_alpha:/var/lib/postgresql/data
59 image: lemmy-federation:latest
61 - LEMMY_HOSTNAME=lemmy-beta:8550
62 - LEMMY_DATABASE_URL=postgres://lemmy:password@postgres_beta:5432/lemmy
63 - LEMMY_JWT_SECRET=changeme
64 - LEMMY_FRONT_END_DIR=/app/dist
65 - LEMMY_FEDERATION__ENABLED=true
66 - LEMMY_FEDERATION__TLS_ENABLED=false
67 - LEMMY_FEDERATION__ALLOWED_INSTANCES=lemmy-alpha,lemmy-gamma
69 - LEMMY_SETUP__ADMIN_USERNAME=lemmy_beta
70 - LEMMY_SETUP__ADMIN_PASSWORD=lemmy
71 - LEMMY_SETUP__SITE_NAME=lemmy-beta
72 - LEMMY_RATE_LIMIT__POST=99999
73 - LEMMY_RATE_LIMIT__REGISTER=99999
74 - LEMMY_CAPTCHA__ENABLED=false
80 image: postgres:12-alpine
83 - POSTGRES_PASSWORD=password
86 - ./volumes/postgres_beta:/var/lib/postgresql/data
89 image: lemmy-federation:latest
91 - LEMMY_HOSTNAME=lemmy-gamma:8560
92 - LEMMY_DATABASE_URL=postgres://lemmy:password@postgres_gamma:5432/lemmy
93 - LEMMY_JWT_SECRET=changeme
94 - LEMMY_FRONT_END_DIR=/app/dist
95 - LEMMY_FEDERATION__ENABLED=true
96 - LEMMY_FEDERATION__TLS_ENABLED=false
97 - LEMMY_FEDERATION__ALLOWED_INSTANCES=lemmy-alpha,lemmy-beta
99 - LEMMY_SETUP__ADMIN_USERNAME=lemmy_gamma
100 - LEMMY_SETUP__ADMIN_PASSWORD=lemmy
101 - LEMMY_SETUP__SITE_NAME=lemmy-gamma
102 - LEMMY_RATE_LIMIT__POST=99999
103 - LEMMY_RATE_LIMIT__REGISTER=99999
104 - LEMMY_CAPTCHA__ENABLED=false
110 image: postgres:12-alpine
112 - POSTGRES_USER=lemmy
113 - POSTGRES_PASSWORD=password
116 - ./volumes/postgres_gamma:/var/lib/postgresql/data
119 image: dogbin/iframely:latest
121 - ../iframely.config.local.js:/iframely/config.local.js:ro