2022-10-29 18:09:30 +01:00
|
|
|
services:
|
2024-01-14 14:22:19 +00:00
|
|
|
website:
|
|
|
|
image: registry.gitlab.com/realorangeone/website:latest
|
|
|
|
restart: unless-stopped
|
|
|
|
environment:
|
|
|
|
- TZ={{ timezone }}
|
|
|
|
- DEBUG=false
|
|
|
|
- SECRET_KEY={{ vault_website_secret_key }}
|
|
|
|
- DATABASE_URL=postgres://website:website@db/website?conn_max_age=600
|
|
|
|
- CACHE_URL=redis://redis/0
|
|
|
|
- QUEUE_STORE_URL=redis://redis/1
|
|
|
|
- RENDITION_CACHE_URL=redis://redis/2
|
|
|
|
- SPOTIFY_PROXY_URL=http://spotify_public_proxy
|
|
|
|
- UNSPLASH_CLIENT_ID={{ vault_unsplash_client_id }}
|
|
|
|
- SENTRY_DSN={{ vault_website_sentry_dsn }}
|
|
|
|
- BASE_HOSTNAME=theorangeone.net
|
2024-10-01 21:43:38 +01:00
|
|
|
- GRANIAN_WORKERS=2
|
|
|
|
- GRANIAN_BLOCKING_THREADS=2
|
2024-01-14 14:22:19 +00:00
|
|
|
- SEO_INDEX=true
|
|
|
|
- ACTIVITYPUB_HOST=mastodon.theorangeone.net
|
|
|
|
volumes:
|
|
|
|
- ./media:/app/media
|
|
|
|
- ./cache:/tmp/nginx_cache
|
2022-10-29 18:09:30 +01:00
|
|
|
networks:
|
|
|
|
- default
|
2023-12-21 16:13:32 +00:00
|
|
|
- coredns
|
2023-06-15 14:20:52 +01:00
|
|
|
depends_on:
|
|
|
|
- db
|
|
|
|
- redis
|
2022-10-29 18:09:30 +01:00
|
|
|
|
|
|
|
db:
|
|
|
|
image: postgres:14-alpine
|
|
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
|
|
- ./postgres:/var/lib/postgresql/data
|
|
|
|
environment:
|
|
|
|
- POSTGRES_PASSWORD=website
|
|
|
|
- POSTGRES_USER=website
|
|
|
|
|
|
|
|
redis:
|
2022-11-21 16:02:19 +00:00
|
|
|
image: redis:7-alpine
|
2022-10-29 18:09:30 +01:00
|
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
|
|
- ./redis:/data
|
|
|
|
|
2023-09-21 14:20:54 +01:00
|
|
|
spotify_public_proxy:
|
|
|
|
image: ghcr.io/realorangeone/spotify-public-proxy:latest
|
|
|
|
restart: unless-stopped
|
|
|
|
environment:
|
|
|
|
- PORT=80
|
2023-12-14 22:03:23 +00:00
|
|
|
- SPOTIFY_CLIENT_ID={{ vault_spotify_client_id }}
|
|
|
|
- SPOTIFY_CLIENT_SECRET={{ vault_spotify_client_secret }}
|
|
|
|
- SENTRY_DSN={{ vault_spotify_sentry_dsn }}
|
2023-09-21 14:20:54 +01:00
|
|
|
|
2022-10-29 18:09:30 +01:00
|
|
|
networks:
|
2023-12-21 16:13:32 +00:00
|
|
|
coredns:
|
2022-10-29 18:09:30 +01:00
|
|
|
external: true
|