version: '3.9' services: db: image: postgres:15-alpine restart: unless-stopped volumes: - /home/nick/configs/lemmy/db:/var/lib/postgresql/data environment: - POSTGRES_USER=lemmy - POSTGRES_PASSWORD=lemmy - POSTGRES_DB=lemmy pictrs: image: asonix/pictrs:0.3.1 restart: unless-stopped # entrypoint: /sbin/tini -- /usr/local/bin/pict-rs -p /mnt -m 4 --image-format webp volumes: - /home/nick/configs/lemmy/pictrs:/mnt environment: - PICTRS__API_KEY=lemmy user: 1000:1000 lemmy: image: dessalines/lemmy:0.17.2 restart: unless-stopped volumes: - /home/nick/configs/lemmy/lemmy.hjson:/config/config.hjson environment: RUST_LOG: "warn,lemmy_server=info,lemmy_api=info,lemmy_api_common=info,lemmy_api_crud=info,lemmy_apub=info,lemmy_db_schema=info,lemmy_db_views=info,lemmy_db_views_actor=info,lemmy_db_views_moderator=info,lemmy_routes=info,lemmy_utils=info,lemmy_websocket=info" depends_on: - db - pictrs networks: - default - routing lemmy-ui: image: dessalines/lemmy-ui:0.17.2 restart: unless-stopped environment: LEMMY_UI_LEMMY_INTERNAL_HOST: lemmy:8536 LEMMY_UI_LEMMY_EXTERNAL_HOST: lemmy.karaolidis.com LEMMY_HTTPS: true depends_on: - lemmy networks: - default - routing networks: routing: external: true name: routing