diff options
| author | Jake Mannens <jake@asger.xyz> | 2024-09-20 16:21:09 +1000 |
|---|---|---|
| committer | Jake Mannens <jake@asger.xyz> | 2024-10-29 11:42:54 +1100 |
| commit | e8e3c4cba8ffa0056e984c113cfbb75319e00022 (patch) | |
| tree | 8336315e61f9e77207276d478b25fe5dc7c3d06c /compose.yaml | |
| parent | 0e21907c76dbefed11f382bcf949143f0716567f (diff) | |
v0.4-rc1v0.4-rc1
Diffstat (limited to 'compose.yaml')
| -rw-r--r-- | compose.yaml | 26 |
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 |
