-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yml
35 lines (33 loc) · 1.16 KB
/
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
services:
db:
image: postgres:16.4-alpine
volumes:
- postgres_data:/var/lib/postgresql/data
environment:
POSTGRES_DB: alyx
POSTGRES_USER: alyx
POSTGRES_PASSWORD: ${DB_PASSWORD}
healthcheck:
test: [ "CMD-SHELL", "pg_isready -d alyx -U alyx" ]
interval: 10s
timeout: 5s
retries: 5
bot:
image: alyx.discord
build:
context: .
dockerfile: Alyx.Discord.Api/Dockerfile
environment:
DB_CONNECTION_STRING: Host=db;Database=alyx;Username=alyx;Password=${DB_PASSWORD}
BOT_TOKEN: ${BOT_TOKEN}
NETSTONE_API_ROOT_URI: https://api.netstone.tawmy.dev
NETSTONE_API_AUTHORITY: https://auth.tawmy.dev/realms/xiv
NETSTONE_API_CLIENT_ID: ${NETSTONE_API_CLIENT_ID}
NETSTONE_API_CLIENT_SECRET: ${NETSTONE_API_CLIENT_SECRET}
NETSTONE_API_SCOPES: netstone.api
AUTH_AUTHORITY: https://auth.tawmy.dev/realms/xiv
AUTH_AUDIENCE: alyx.discord
LOGGING__LOGLEVEL__DEFAULT: Information
LOGGING__LOGLEVEL__ASPNETCORE: Warning
LOGGING__LOGLEVEL__MICROSOFT.ENTITYFRAMEWORKCORE: Warning
LOGGING__LOGLEVEL__SYSTEM.NET.HTTP.HTTPCLIENT: Warning