Added gotosocial and added an attempted fix for the authentik redis nonsense
This commit is contained in:
@ -18,7 +18,7 @@ services:
|
||||
POSTGRES_DB: ${PG_DB:-authentik}
|
||||
env_file:
|
||||
- .env
|
||||
redis:
|
||||
trout:
|
||||
image: docker.io/library/redis:alpine
|
||||
command: --save 60 1 --loglevel warning
|
||||
restart: unless-stopped
|
||||
@ -29,13 +29,13 @@ services:
|
||||
retries: 5
|
||||
timeout: 3s
|
||||
volumes:
|
||||
- redis:/data
|
||||
- trout:/data
|
||||
server:
|
||||
image: ${AUTHENTIK_IMAGE:-ghcr.io/goauthentik/server}:${AUTHENTIK_TAG:-2024.6.3}
|
||||
restart: unless-stopped
|
||||
command: server
|
||||
environment:
|
||||
AUTHENTIK_REDIS__HOST: redis
|
||||
AUTHENTIK_REDIS__HOST: trout
|
||||
AUTHENTIK_POSTGRESQL__HOST: postgresql
|
||||
AUTHENTIK_POSTGRESQL__USER: ${PG_USER:-authentik}
|
||||
AUTHENTIK_POSTGRESQL__NAME: ${PG_DB:-authentik}
|
||||
@ -50,13 +50,13 @@ services:
|
||||
- "${COMPOSE_PORT_HTTPS:-9443}:9443"
|
||||
depends_on:
|
||||
- postgresql
|
||||
- redis
|
||||
- trout
|
||||
worker:
|
||||
image: ${AUTHENTIK_IMAGE:-ghcr.io/goauthentik/server}:${AUTHENTIK_TAG:-2024.6.3}
|
||||
restart: unless-stopped
|
||||
command: worker
|
||||
environment:
|
||||
AUTHENTIK_REDIS__HOST: redis
|
||||
AUTHENTIK_REDIS__HOST: trout
|
||||
AUTHENTIK_POSTGRESQL__HOST: postgresql
|
||||
AUTHENTIK_POSTGRESQL__USER: ${PG_USER:-authentik}
|
||||
AUTHENTIK_POSTGRESQL__NAME: ${PG_DB:-authentik}
|
||||
@ -77,12 +77,12 @@ services:
|
||||
- .env
|
||||
depends_on:
|
||||
- postgresql
|
||||
- redis
|
||||
- trout
|
||||
|
||||
volumes:
|
||||
database:
|
||||
driver: local
|
||||
redis:
|
||||
trout:
|
||||
driver: local
|
||||
|
||||
networks:
|
||||
|
36
roles/docker/templates/gotosocial-compose.yml.j2
Normal file
36
roles/docker/templates/gotosocial-compose.yml.j2
Normal file
@ -0,0 +1,36 @@
|
||||
version: "3.3"
|
||||
|
||||
services:
|
||||
gotosocial:
|
||||
image: superseriousbusiness/gotosocial:0.16.0
|
||||
container_name: gotosocial
|
||||
user: 1000:1000
|
||||
extra_hosts:
|
||||
- 'auth.thesatelliteoflove.com:172.20.0.2'
|
||||
environment:
|
||||
GTS_HOST: social.thesatelliteoflove.com
|
||||
GTS_DB_TYPE: sqlite
|
||||
GTS_DB_ADDRESS: /gotosocial/storage/sqlite.db
|
||||
GTS_LETSENCRYPT_ENABLED: "false"
|
||||
GTS_LETSENCRYPT_EMAIL_ADDRESS: ""
|
||||
GTS_TRUSTED_PROXIES: "172.20.0.2"
|
||||
GTS_ACCOUNT_DOMAIN: thesatelliteoflove.com
|
||||
GTS_OIDC_ENABLED: "true"
|
||||
GTS_OIDC_IDP_NAME: "Authentik"
|
||||
GTS_OIDC_ISSUER: https://auth.thesatelliteoflove.com/application/o/gotosocial/
|
||||
GTS_OIDC_CLIENT_ID: {{ gts_oidc_client_id }}
|
||||
GTS_OIDC_CLIENT_SECRET: {{ gts_oidc_client_secret }}
|
||||
GTS_OIDC_LINK_EXISTING: "true"
|
||||
TZ: UTC
|
||||
volumes:
|
||||
- gotosocial:/gotosocial/storage
|
||||
restart: "always"
|
||||
|
||||
volumes:
|
||||
gotosocial:
|
||||
driver: local
|
||||
|
||||
networks:
|
||||
default:
|
||||
external: true
|
||||
name: lava
|
Reference in New Issue
Block a user