-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
42 lines (37 loc) · 1.07 KB
/
compose.yaml
File metadata and controls
42 lines (37 loc) · 1.07 KB
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
services:
orion.access.postgres:
image: orion.access.postgres
build:
context: .
dockerfile: Orion.Access.Postgres/Dockerfile
orion.api.BuildVersion:
image: orion.api.BuildVersion
build:
context: .
dockerfile: src/API/Orion.API.BuildVersion/Dockerfile
orion.api.databaselog:
image: orion.api.databaselog
build:
context: .
dockerfile: src/API/Orion.API.DatabaseLog/Dockerfile
postgres:
image: postgres:17
container_name: OrionProductionDatabase
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: $ta99Ath0
POSTGRES_DB: OrionProductionDatabase
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
api:
build: .
container_name: Orion.API.BuildVersion
environment:
# Use service name 'postgres' as host
ConnectionStrings__DefaultConnection: "Host=localhost;Port=5432;Database=OrionProductionDatabase;Username=postgres;Password=$ta99Ath0"
depends_on:
- postgres
ports:
- "8080:5000"