claude is useless now
This commit is contained in:
14
compose.bundled.yml
Normal file
14
compose.bundled.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
services:
|
||||
lmr:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile.bundled
|
||||
ports:
|
||||
- "${PORT:-8080}:8080"
|
||||
volumes:
|
||||
- pgdata:/var/lib/postgresql/data
|
||||
env_file: .env
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
pgdata:
|
||||
@@ -1,30 +0,0 @@
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:17-alpine
|
||||
volumes:
|
||||
- pgdata:/var/lib/postgresql/data
|
||||
environment:
|
||||
POSTGRES_USER: ${PGUSER:-lmr}
|
||||
POSTGRES_PASSWORD: ${PGPASSWORD:-lmr}
|
||||
POSTGRES_DB: ${PGDATABASE:-lmr}
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U ${PGUSER:-lmr} -d ${PGDATABASE:-lmr}"]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 10
|
||||
|
||||
lmr:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- "${PORT:-8080}:8080"
|
||||
env_file: .env
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
pgdata:
|
||||
@@ -2,13 +2,8 @@ services:
|
||||
lmr:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile.bundled
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- "${PORT:-8080}:8080"
|
||||
volumes:
|
||||
- pgdata:/var/lib/postgresql/data
|
||||
env_file: .env
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
pgdata:
|
||||
|
||||
Reference in New Issue
Block a user