aboutsummaryrefslogtreecommitdiff
path: root/compose.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'compose.yaml')
-rw-r--r--compose.yaml26
1 files changed, 26 insertions, 0 deletions
diff --git a/compose.yaml b/compose.yaml
new file mode 100644
index 0000000..821479d
--- /dev/null
+++ b/compose.yaml
@@ -0,0 +1,26 @@
+services:
+ pagerparser:
+ build: .
+ image: pagerparser
+ restart: on-failure:10
+ ports:
+ - 5000:8080
+ depends_on:
+ - postgres
+ links:
+ - postgres
+ environment:
+ - "ConnectionStrings__DefaultConnection=Host=postgres;Database=PagerParser;Username=pagerparser;Password=A4ocHfq4XXww7MV9"
+ postgres:
+ image: postgres:16-alpine
+ ports:
+ - 5432:5432
+ volumes:
+ - db:/var/lib/postgresql/data
+ environment:
+ - POSTGRES_PASSWORD=A4ocHfq4XXww7MV9
+ - POSTGRES_USER=pagerparser
+ - POSTGRES_DB=PagerParser
+volumes:
+ db:
+ driver: local