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
24 image: lemmy-federation:latest
26 - LEMMY_HOSTNAME=lemmy_alpha:8540
27 - LEMMY_DATABASE_URL=postgres://lemmy:password@postgres_alpha:5432/lemmy
28 - LEMMY_JWT_SECRET=changeme
29 - LEMMY_FRONT_END_DIR=/app/dist
30 - LEMMY_FEDERATION__ENABLED=true
31 - LEMMY_FEDERATION__TLS_ENABLED=false
32 - LEMMY_FEDERATION__INSTANCE_WHITELIST=lemmy_beta,lemmy_gamma
34 - LEMMY_SETUP__ADMIN_USERNAME=lemmy_alpha
35 - LEMMY_SETUP__ADMIN_PASSWORD=lemmy
36 - LEMMY_SETUP__SITE_NAME=lemmy_alpha
43 image: postgres:12-alpine
46 - POSTGRES_PASSWORD=password
49 - ./volumes/postgres_alpha:/var/lib/postgresql/data
52 image: shtripok/pictshare:latest
54 - ./volumes/pictshare_alpha:/usr/share/nginx/html/data
58 image: lemmy-federation:latest
60 - LEMMY_HOSTNAME=lemmy_beta:8550
61 - LEMMY_DATABASE_URL=postgres://lemmy:password@postgres_beta:5432/lemmy
62 - LEMMY_JWT_SECRET=changeme
63 - LEMMY_FRONT_END_DIR=/app/dist
64 - LEMMY_FEDERATION__ENABLED=true
65 - LEMMY_FEDERATION__TLS_ENABLED=false
66 - LEMMY_FEDERATION__INSTANCE_WHITELIST=lemmy_alpha,lemmy_gamma
68 - LEMMY_SETUP__ADMIN_USERNAME=lemmy_beta
69 - LEMMY_SETUP__ADMIN_PASSWORD=lemmy
70 - LEMMY_SETUP__SITE_NAME=lemmy_beta
77 image: postgres:12-alpine
80 - POSTGRES_PASSWORD=password
83 - ./volumes/postgres_beta:/var/lib/postgresql/data
86 image: shtripok/pictshare:latest
88 - ./volumes/pictshare_beta:/usr/share/nginx/html/data
92 image: lemmy-federation:latest
94 - LEMMY_HOSTNAME=lemmy_gamma:8560
95 - LEMMY_DATABASE_URL=postgres://lemmy:password@postgres_gamma:5432/lemmy
96 - LEMMY_JWT_SECRET=changeme
97 - LEMMY_FRONT_END_DIR=/app/dist
98 - LEMMY_FEDERATION__ENABLED=true
99 - LEMMY_FEDERATION__TLS_ENABLED=false
100 - LEMMY_FEDERATION__INSTANCE_WHITELIST=lemmy_alpha,lemmy_beta
102 - LEMMY_SETUP__ADMIN_USERNAME=lemmy_gamma
103 - LEMMY_SETUP__ADMIN_PASSWORD=lemmy
104 - LEMMY_SETUP__SITE_NAME=lemmy_gamma
111 image: postgres:12-alpine
113 - POSTGRES_USER=lemmy
114 - POSTGRES_PASSWORD=password
117 - ./volumes/postgres_gamma:/var/lib/postgresql/data
120 image: shtripok/pictshare:latest
122 - ./volumes/pictshare_gamma:/usr/share/nginx/html/data
126 image: dogbin/iframely:latest
128 - ../iframely.config.local.js:/iframely/config.local.js:ro