1
0
forked from PGL/Clyde
Clyde/backend/compose.yaml
Anthony Debucquoy 6503af0096
Adding docker entry for backend
This allow you to run `docker-compose up` in the backend directory
to run the whole backend in a docker. by default the port is set to 4000
2024-02-26 13:20:03 +01:00

14 lines
246 B
YAML

services:
backend:
build: .
ports:
- 4000:8080
postgres:
image: 'postgres:latest'
environment:
- 'POSTGRES_DB=mydatabase'
- 'POSTGRES_PASSWORD=secret'
- 'POSTGRES_USER=myuser'
ports:
- '5432'