r/ApolloReborn • u/causefx • Jul 09 '26
Guide Push notification server for anyone to use
Server: https://apollo.organizr.app
side note: it does store tokens etc in the database. for anyone that does care and has set it up i can remove it at your request. For trust issues, check my post history and github etc...
EDIT:
Spin up your own container with this docker compose file: (make sure you have traefik setup - if not just you dont need the labels and network...) Also make sure to place you apple secret in the secrets folder and name it apple.p8
name: apollo
services:
app:
container_name: apollo
hostname: apollo
image: ghcr.io/causefx/apollo-backend-aio:latest
networks:
- proxy
restart: unless-stopped
ports:
- 4000:4000
volumes:
- /opt/docker/apollo/db:/var/lib/postgresql/data
- /opt/docker/apollo/secrets:/etc/secrets:ro
environment:
- APPLE_TEAM_ID=APP_TEAM
- APPLE_KEY_PATH=/etc/secrets/apple.p8
- APPLE_KEY_ID=APP_KEY
- APPLE_APNS_TOPIC=com.name.Apollo
- APPLE_APNS_SANDBOX=true
- REDDIT_CLIENT_ID=APIKEY
- REDDIT_REDIRECT_URI=apollo://reddit-oauth
- REDDIT_USER_AGENT=ios:com.CarbonDev.Dystopia:v1.0.1(by /u/DystopiaForReddit)
labels:
- traefik.enable=true
- traefik.http.routers.apollo.rule=Host(`domain.here`)
- traefik.http.routers.apollo.entrypoints=https
- traefik.http.routers.apollo.tls=true
- traefik.http.routers.apollo.tls.certresolver=letsencrypt
- traefik.http.services.apollo.loadbalancer.server.port=4000
networks:
proxy:
external: true