-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
36 lines (36 loc) · 1.45 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
services:
db:
image: postgres:16
restart: unless-stopped
environment:
POSTGRES_USER: user # change me
POSTGRES_PASSWORD: password # change me
POSTGRES_DB: tamako
ports:
- "5432"
volumes:
- tamakodb:/var/lib/postgresql/data
networks:
- tamako
web:
image: fawni/tamako # or ghcr.io/fawni/tamako or codeberg.org/fawn/tamako
# build: . # uncomment to build the image locally instead of pulling from a registry
restart: unless-stopped
environment:
TAMAKO_HOST: 0.0.0.0 # the host to run the server on.
TAMAKO_PORT: "8715" # the port to run the server on. make sure it's not already in use.
TAMAKO_SECRET: "" # IMPORTANT: the secret key used for authentication. think of it like a master password.
DATABASE_URL: postgresql://user:password@db:5432/tamako # the database url. for docker compose, change `user` and `password` to the variables set in `services.db.environment` above.
WEBHOOK_URL: "" # (optional) the discord webhook url. this will be used to send whispers (private and public) to a discord channel.
# TAMAKO_USER_NAME = "sofia" # (optional) defaults to "tamako". used in the web fronted header.
# TAMAKO_USER_DESCRIPTION = "stupidest kibty" # (optional) defaults to "Cozy anonymous whispers 🐞". used in the web fronted header.
ports:
- 8715:8715
depends_on:
- db
networks:
- tamako
volumes:
tamakodb:
networks:
tamako: