chore: flatten repository to completely erase 255MB history
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
services:
|
||||
web:
|
||||
restart: always
|
||||
build:
|
||||
context: .
|
||||
target: production
|
||||
expose:
|
||||
- "80"
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
labels:
|
||||
- "coolify.endpoint=true"
|
||||
|
||||
api:
|
||||
restart: always
|
||||
build:
|
||||
context: ./backend
|
||||
volumes:
|
||||
- uploads-volume:/app/uploads
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
- DATABASE_URL=postgresql://titan_user:titan_secure_pass@db:5432/titan_db
|
||||
depends_on:
|
||||
- db
|
||||
labels:
|
||||
- "traefik.enable=false"
|
||||
|
||||
db:
|
||||
image: postgres:16-alpine
|
||||
restart: always
|
||||
environment:
|
||||
- POSTGRES_USER=titan_user
|
||||
- POSTGRES_PASSWORD=titan_secure_pass
|
||||
- POSTGRES_DB=titan_db
|
||||
volumes:
|
||||
- db-data:/var/lib/postgresql/data
|
||||
labels:
|
||||
- "traefik.enable=false"
|
||||
|
||||
volumes:
|
||||
uploads-volume:
|
||||
db-data:
|
||||
Reference in New Issue
Block a user