fiix
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
# db
|
# db
|
||||||
POSTGRES_PASSWORD=
|
POSTGRES_PASSWORD=
|
||||||
|
SPLIIT_POSTGRES_DIR=
|
||||||
|
|
||||||
# app
|
# app
|
||||||
POSTGRES_PRISMA_URL=postgresql://postgres:${POSTGRES_PASSWORD}@db
|
POSTGRES_PRISMA_URL=postgresql://postgres:${POSTGRES_PASSWORD}@db
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
services:
|
services:
|
||||||
app:
|
spliit:
|
||||||
image: spliit2:1.15.0
|
image: spliit2:1.15.0
|
||||||
ports:
|
ports:
|
||||||
- 3001:3000
|
- 3001:3000
|
||||||
depends_on:
|
depends_on:
|
||||||
db:
|
spliit_db:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
db:
|
spliit_db:
|
||||||
image: postgres:17
|
image: postgres:17
|
||||||
volumes:
|
volumes:
|
||||||
- ${SPLIIT_POSTGRES_DIR}:/var/lib/postgresql/data
|
- ${SPLIIT_POSTGRES_DIR}:/var/lib/postgresql/data
|
||||||
|
|||||||
Reference in New Issue
Block a user