Anthony Debucquoy
6503af0096
All checks were successful
Build and test FrontEnd / Build (pull_request) Successful in 36s
Build and test FrontEnd / Test (pull_request) Successful in 23s
deploy to production / deploy-frontend (push) Successful in 24s
Build and test FrontEnd / Build (push) Successful in 23s
Build and test FrontEnd / Test (push) Successful in 24s
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
14 lines
246 B
YAML
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'
|