app-store/apps/gotosocial/docker-compose.yml
renovate[bot] 89497b2d4e
chore(deps): update superseriousbusiness/gotosocial docker tag to v0.9.0 (#589)
* chore(deps): update superseriousbusiness/gotosocial docker tag to v0.9.0

* Update app version

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: github-action update-app-version <githubaction@githubaction.com>
2023-05-24 16:28:41 -04:00

52 lines
1.6 KiB
YAML

version: "3"
services:
gotosocial:
container_name: gotosocial
image: superseriousbusiness/gotosocial:0.9.0
user: 1000:1000
ports:
- ${APP_PORT}:8080
volumes:
- ${APP_DATA_DIR}/data/gotosocial:/gotosocial/storage
depends_on:
- gotosocial-db
environment:
- GTS_HOST=${APP_DOMAIN}
- GTS_LETSENCRYPT_ENABLED=false
- GTS_DB_TYPE=postgres
- GTS_DB_ADDRESS=gotosocial-db
- GTS_DB_PORT=5432
- GTS_DB_USER=tipi
- GTS_DB_PASSWORD=${GTS_DB_PASSWORD}
- GTS_DB_DATABASE=gotosocial-db
- GTS_ACCOUNTS_REGISTRATION_OPEN=${GTS_ACCOUNTS_REGISTRATION_OPEN}
- GTS_SMTP_HOST=${GTS_SMTP_HOST}
- GTS_SMTP_PORT=${GTS_SMTP_PORT}
- GTS_SMTP_USERNAME=${GTS_SMTP_USERNAME}
- GTS_SMTP_PASSWORD=${GTS_SMTP_PASSWORD}
- GTS_SMTP_FROM=${GTS_SMTP_FROM}
restart: unless-stopped
networks:
- tipi_main_network
labels:
traefik.enable: ${APP_EXPOSED}
traefik.http.routers.gotosocial.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.gotosocial.entrypoints: websecure
traefik.http.routers.gotosocial.service: gotosocial
traefik.http.routers.gotosocial.tls.certresolver: myresolver
traefik.http.services.gotosocial.loadbalancer.server.port: 8080
gotosocial-db:
container_name: gotosocial-db
image: postgres:14
environment:
POSTGRES_PASSWORD: ${GTS_DB_PASSWORD}
POSTGRES_USER: tipi
POSTGRES_DB: gotosocial-db
PG_DATA: /var/lib/postgresql/data
volumes:
- ${APP_DATA_DIR}/data/db:/var/lib/postgresql/data
restart: unless-stopped
networks:
- tipi_main_network