-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
50 lines (50 loc) · 1.62 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
version: "3"
services:
pg-accounts:
image: postgres:13-buster
restart: always
environment:
POSTGRES_PASSWORD: secret123
POSTGRES_USER: accounts
POSTGRES_HOST_AUTH_METHOD: md5
volumes:
- pg-accounts:/var/lib/postgresql/data
accounts:
image: ghcr.io/vicr123/vicr123-accounts:master
depends_on: [pg-accounts]
restart: always
environment:
ACCOUNTS_DB_HOSTNAME: pg-accounts
ACCOUNTS_DB_USERNAME: accounts
ACCOUNTS_DB_DATABASE: accounts
ACCOUNTS_DB_PASSWORD: secret123
volumes:
- "/var/parlance/vicr123-accounts:/var/vicr123-accounts"
pg-parlance:
image: postgres:13-buster
restart: always
environment:
POSTGRES_PASSWORD: secret123
POSTGRES_USER: parlance
POSTGRES_HOST_AUTH_METHOD: md5
volumes:
- pg-parlance:/var/lib/postgresql/data
parlance:
image: ghcr.io/vicr123/parlance:main
depends_on: [accounts, pg-parlance]
restart: always
environment:
Parlance__DatabaseConnectionString: "Host=pg-parlance; Database=parlance; Username=parlance; Password=secret123;"
Parlance__RepositoryDirectory: "/Data"
ASPNETCORE_URLS: "http://0.0.0.0:5000/"
volumes:
- "/var/parlance/vicr123-accounts:/var/vicr123-accounts"
- "parlance-home:/root"
- "parlance-data:/Data"
ports:
- "5000:5000"
volumes:
pg-accounts:
pg-parlance:
parlance-home:
parlance-data: