5 image: nginx:1.17-alpine
10 # Hack to make this work from both docker/federation/ and docker/federation-test/
11 - ../federation/nginx.conf:/etc/nginx/nginx.conf
21 image: lemmy-federation:latest
23 - LEMMY_HOSTNAME=lemmy_alpha:8540
24 - LEMMY_DATABASE_URL=postgres://lemmy:password@postgres_alpha:5432/lemmy
25 - LEMMY_JWT_SECRET=changeme
26 - LEMMY_FRONT_END_DIR=/app/dist
27 - LEMMY_FEDERATION__ENABLED=true
28 - LEMMY_FEDERATION__TLS_ENABLED=false
29 - LEMMY_FEDERATION__INSTANCE_WHITELIST=lemmy_beta
31 - LEMMY_SETUP__ADMIN_USERNAME=lemmy_alpha
32 - LEMMY_SETUP__ADMIN_PASSWORD=lemmy
33 - LEMMY_SETUP__SITE_NAME=lemmy_alpha
40 image: postgres:12-alpine
43 - POSTGRES_PASSWORD=password
46 - ./volumes/postgres_alpha:/var/lib/postgresql/data
49 image: shtripok/pictshare:latest
51 - ./volumes/pictshare_alpha:/usr/share/nginx/html/data
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__INSTANCE_WHITELIST=lemmy_alpha
65 - LEMMY_SETUP__ADMIN_USERNAME=lemmy_beta
66 - LEMMY_SETUP__ADMIN_PASSWORD=lemmy
67 - LEMMY_SETUP__SITE_NAME=lemmy_beta
74 image: postgres:12-alpine
77 - POSTGRES_PASSWORD=password
80 - ./volumes/postgres_beta:/var/lib/postgresql/data
83 image: shtripok/pictshare:latest
85 - ./volumes/pictshare_beta:/usr/share/nginx/html/data
89 image: dogbin/iframely:latest
91 - ../iframely.config.local.js:/iframely/config.local.js:ro