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__ALLOWED_INSTANCES=lemmy_beta,lemmy_gamma
34 - LEMMY_SETUP__ADMIN_USERNAME=lemmy_alpha
35 - LEMMY_SETUP__ADMIN_PASSWORD=lemmy
36 - LEMMY_SETUP__SITE_NAME=lemmy_alpha
42 image: postgres:12-alpine
45 - POSTGRES_PASSWORD=password
48 - ./volumes/postgres_alpha:/var/lib/postgresql/data
50 image: asonix/pictrs:v0.1.13-r0
53 - ./volumes/pictrs_alpha:/mnt
56 image: lemmy-federation:latest
58 - LEMMY_HOSTNAME=lemmy_beta:8550
59 - LEMMY_DATABASE_URL=postgres://lemmy:password@postgres_beta:5432/lemmy
60 - LEMMY_JWT_SECRET=changeme
61 - LEMMY_FRONT_END_DIR=/app/dist
62 - LEMMY_FEDERATION__ENABLED=true
63 - LEMMY_FEDERATION__TLS_ENABLED=false
64 - LEMMY_FEDERATION__ALLOWED_INSTANCES=lemmy_alpha,lemmy_gamma
66 - LEMMY_SETUP__ADMIN_USERNAME=lemmy_beta
67 - LEMMY_SETUP__ADMIN_PASSWORD=lemmy
68 - LEMMY_SETUP__SITE_NAME=lemmy_beta
74 image: postgres:12-alpine
77 - POSTGRES_PASSWORD=password
80 - ./volumes/postgres_beta:/var/lib/postgresql/data
82 image: asonix/pictrs:v0.1.13-r0
85 - ./volumes/pictrs_beta:/mnt
88 image: lemmy-federation:latest
90 - LEMMY_HOSTNAME=lemmy_gamma:8560
91 - LEMMY_DATABASE_URL=postgres://lemmy:password@postgres_gamma:5432/lemmy
92 - LEMMY_JWT_SECRET=changeme
93 - LEMMY_FRONT_END_DIR=/app/dist
94 - LEMMY_FEDERATION__ENABLED=true
95 - LEMMY_FEDERATION__TLS_ENABLED=false
96 - LEMMY_FEDERATION__ALLOWED_INSTANCES=lemmy_alpha,lemmy_beta
98 - LEMMY_SETUP__ADMIN_USERNAME=lemmy_gamma
99 - LEMMY_SETUP__ADMIN_PASSWORD=lemmy
100 - LEMMY_SETUP__SITE_NAME=lemmy_gamma
106 image: postgres:12-alpine
108 - POSTGRES_USER=lemmy
109 - POSTGRES_PASSWORD=password
112 - ./volumes/postgres_gamma:/var/lib/postgresql/data
114 image: asonix/pictrs:v0.1.13-r0
117 - ./volumes/pictrs_gamma:/mnt
120 image: dogbin/iframely:latest
122 - ../iframely.config.local.js:/iframely/config.local.js:ro