diff --git a/run_scripts/cors-school.sh b/run_scripts/cors-school.sh index a0bd833..b3efe1a 100644 --- a/run_scripts/cors-school.sh +++ b/run_scripts/cors-school.sh @@ -1 +1,8 @@ -docker run --net internal --name cors-school-frontend -d --restart=always docker.nilstrieb.dev/cors-school-frontend:1.0.0 \ No newline at end of file +# frontend +docker run --net internal --name cors-school-frontend -d --restart=always docker.nilstrieb.dev/cors-school-frontend:1.0.0 + +# postgres +docker run --net internal -d --name cors-postgres -e POSTGRES_PASSWORD=hugo58hugo -e POSTGRES_DB=davinci postgres + +# backend +docker run --net internal -d --name cors-school-backend -v -e DATABASE_URL=postgres://postgres:hugo58hugo@cors-postgres/davinci -e RUST_LOG=info -e JWT_SECRET=redacted \ No newline at end of file