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: lemmy-federation:latest
25 - LEMMY_HOSTNAME=lemmy_alpha:8540
26 - LEMMY_DATABASE_URL=postgres://lemmy:password@postgres_alpha:5432/lemmy
27 - LEMMY_JWT_SECRET=changeme
28 - LEMMY_FRONT_END_DIR=/app/dist
29 - LEMMY_FEDERATION__ENABLED=true
30 - LEMMY_FEDERATION__TLS_ENABLED=false
31 - LEMMY_FEDERATION__ALLOWED_INSTANCES=lemmy_beta,lemmy_gamma
33 - LEMMY_SETUP__ADMIN_USERNAME=lemmy_alpha
34 - LEMMY_SETUP__ADMIN_PASSWORD=lemmy
35 - LEMMY_SETUP__SITE_NAME=lemmy_alpha
41 image: postgres:12-alpine
44 - POSTGRES_PASSWORD=password
47 - ./volumes/postgres_alpha:/var/lib/postgresql/data
49 image: asonix/pictrs:v0.1.13-r0
52 - ./volumes/pictrs_alpha:/mnt
55 image: lemmy-federation:latest
57 - LEMMY_HOSTNAME=lemmy_beta:8550
58 - LEMMY_DATABASE_URL=postgres://lemmy:password@postgres_beta:5432/lemmy
59 - LEMMY_JWT_SECRET=changeme
60 - LEMMY_FRONT_END_DIR=/app/dist
61 - LEMMY_FEDERATION__ENABLED=true
62 - LEMMY_FEDERATION__TLS_ENABLED=false
63 - LEMMY_FEDERATION__ALLOWED_INSTANCES=lemmy_alpha,lemmy_gamma
65 - LEMMY_SETUP__ADMIN_USERNAME=lemmy_beta
66 - LEMMY_SETUP__ADMIN_PASSWORD=lemmy
67 - LEMMY_SETUP__SITE_NAME=lemmy_beta
73 image: postgres:12-alpine
76 - POSTGRES_PASSWORD=password
79 - ./volumes/postgres_beta:/var/lib/postgresql/data
81 image: asonix/pictrs:v0.1.13-r0
84 - ./volumes/pictrs_beta:/mnt
87 image: lemmy-federation:latest
89 - LEMMY_HOSTNAME=lemmy_gamma:8560
90 - LEMMY_DATABASE_URL=postgres://lemmy:password@postgres_gamma:5432/lemmy
91 - LEMMY_JWT_SECRET=changeme
92 - LEMMY_FRONT_END_DIR=/app/dist
93 - LEMMY_FEDERATION__ENABLED=true
94 - LEMMY_FEDERATION__TLS_ENABLED=false
95 - LEMMY_FEDERATION__ALLOWED_INSTANCES=lemmy_alpha,lemmy_beta
97 - LEMMY_SETUP__ADMIN_USERNAME=lemmy_gamma
98 - LEMMY_SETUP__ADMIN_PASSWORD=lemmy
99 - LEMMY_SETUP__SITE_NAME=lemmy_gamma
105 image: postgres:12-alpine
107 - POSTGRES_USER=lemmy
108 - POSTGRES_PASSWORD=password
111 - ./volumes/postgres_gamma:/var/lib/postgresql/data
113 image: asonix/pictrs:v0.1.13-r0
116 - ./volumes/pictrs_gamma:/mnt
119 image: dogbin/iframely:latest
121 - ../iframely.config.local.js:/iframely/config.local.js:ro