This repository has been archived on 2024-08-23. You can view files and clone it, but cannot push or open issues or pull requests.
project/compose.yaml

23 lines
510 B
YAML
Raw Permalink Normal View History

2024-06-27 12:04:57 +00:00
services:
2024-08-15 16:15:58 +00:00
backend:
build: .
environment:
JWT_SECRET: ${JWT_SECRET}
DATABASE_URL: 'postgresql://tester:testing123!@backend_db/backend'
depends_on:
- backend_db
restart: unless-stopped
backend_db:
2024-07-31 16:17:59 +00:00
image: ghcr.io/fboulnois/pg_uuidv7:1.5.0
2024-06-27 12:04:57 +00:00
environment:
- POSTGRES_USER=tester
- POSTGRES_PASSWORD=testing123!
2024-08-15 16:15:58 +00:00
- POSTGRES_DB=backend
2024-06-27 12:04:57 +00:00
volumes:
2024-08-15 16:15:58 +00:00
- backend_db_data:/var/lib/postgresql/data
2024-08-06 13:00:38 +00:00
restart: unless-stopped
2024-06-27 12:04:57 +00:00
volumes:
2024-08-15 16:15:58 +00:00
backend_db_data: