-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
53 lines (48 loc) · 1.33 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
version: "3.8"
services:
alderto:
image: gedasfx/alderto
depends_on:
- postgres
ports:
- "5001:80"
environment:
Database__Host: postgres
Database__Database: postgres
Database__Username: postgres
Database__Password:
DiscordAPI__ClientId:
DiscordAPI__ClientSecret:
DiscordAPI__BotToken:
Discord__ErrorLogChannelId:
Discord__NewsChannelId:
OAuth__RedirectUris: https://alderto.gedas.dev/oauth/signin-callback.html;https://alderto.gedas.dev/oauth/refresh-callback.html
OAuth__PostLogoutRedirectUris: https://alderto.gedas.dev/oauth/signout-callback.html
OAuth__AllowedCorsOrigins: https://alderto.gedas.dev
OAuth__ApiAuthority: https://alderto.gedas.dev/api
restart: unless-stopped
postgres:
image: postgres:12-alpine
environment:
POSTGRES_PASSWORD:
ports:
- "5432:5432"
volumes:
- pg-data:/var/lib/postgresql/data
restart: unless-stopped
pgbackups:
image: prodrigestivill/postgres-backup-local:12-alpine
depends_on:
- postgres
environment:
POSTGRES_HOST: postgres
POSTGRES_DB: postgres
POSTGRES_USER: postgres
POSTGRES_PASSWORD:
volumes:
- pg-data-backups:/backups
user: postgres:postgres
restart: unless-stopped
volumes:
pg-data:
pg-data-backups: