🚀 Patch auto
This commit is contained in:
25
docker-compose.add.yml
Normal file
25
docker-compose.add.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
# Add this service to your existing docker-compose.yml
|
||||
services:
|
||||
api:
|
||||
build: ./backend
|
||||
env_file:
|
||||
- ./backend/.env
|
||||
ports:
|
||||
- "4000:4000"
|
||||
depends_on:
|
||||
- db
|
||||
|
||||
# Example db service (if you don't already have one)
|
||||
db:
|
||||
image: postgres:15
|
||||
environment:
|
||||
POSTGRES_DB: supersunday
|
||||
POSTGRES_USER: supersunday
|
||||
POSTGRES_PASSWORD: supersunday
|
||||
volumes:
|
||||
- pgdata:/var/lib/postgresql/data
|
||||
ports:
|
||||
- "5432:5432"
|
||||
|
||||
volumes:
|
||||
pgdata:
|
||||
Reference in New Issue
Block a user