Updates
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
services:
|
||||
rallly_db:
|
||||
image: postgres:14.2
|
||||
restart: always
|
||||
volumes:
|
||||
- ${ROOT_DIR}/db-data:/var/lib/postgresql/data
|
||||
environment:
|
||||
- POSTGRES_PASSWORD=postgres
|
||||
- POSTGRES_DB=db
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
rallly:
|
||||
image: lukevella/rallly:latest
|
||||
restart: always
|
||||
platform: linux/amd64
|
||||
depends_on:
|
||||
- rallly_db
|
||||
ports:
|
||||
- ${APP_PORT}:3000
|
||||
environment:
|
||||
- DATABASE_URL=postgres://postgres:postgres@rallly_db/db
|
||||
env_file:
|
||||
- stack.env
|
||||
Reference in New Issue
Block a user