mirror of
https://forgejo.merr.is/annika/isl-api.git
synced 2025-12-15 23:18:53 -05:00
Made Changes To Use a pgx Connection Pool
This commit is contained in:
parent
c327b571f6
commit
c1231d487a
5 changed files with 45 additions and 21 deletions
|
|
@ -3,13 +3,13 @@ version: '3.1'
|
|||
|
||||
services:
|
||||
api:
|
||||
image: moosetheory/isl-api:0.1.1
|
||||
image: forgejo.merr.is/annika/isl-api:latest
|
||||
restart: always
|
||||
environment:
|
||||
- ISL_API_DB_CONNECTION_STRING=postgres://isl:development@db:5432/isl
|
||||
- ISL_API_HTTP_PORT=3000
|
||||
ports:
|
||||
- 3000:3000
|
||||
- 3080:3000
|
||||
db:
|
||||
image: postgres
|
||||
restart: always
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue