Skip to content

Commit 6a9eed7

Browse files
committed
fix: more tweaking for docker
1 parent ae6894a commit 6a9eed7

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

index.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,6 @@ Review each subproject for its specific license before deploying to production.
227227
`;
228228

229229
const GENERATED_DOCKER_COMPOSE = `
230-
version: "3.9"
231-
232230
services:
233231
db:
234232
image: postgres:16
@@ -250,14 +248,16 @@ services:
250248
251249
auth:
252250
container_name: seamless-auth
253-
build: ./auth
251+
build:
252+
context: ./auth
253+
dockerfile: Dockerfile.dev
254254
ports:
255255
- "${authPort}:${authPort}"
256256
env_file:
257257
- ./auth/.env
258258
environment:
259259
DB_HOST: db
260-
ISSUER=http://auth:${authPort}
260+
ISSUER: http://auth:${authPort}
261261
volumes:
262262
- ./auth:/app
263263
- /app/node_modules
@@ -273,7 +273,7 @@ services:
273273
env_file:
274274
- ./api/.env
275275
environment:
276-
AUTH_SERVER_URL=http://auth:${authPort}
276+
AUTH_SERVER_URL: http://auth:${authPort}
277277
volumes:
278278
- ./api:/app
279279
- /app/node_modules
@@ -440,8 +440,8 @@ async function downloadRepo(repo, dest) {
440440
fs.writeFileSync(
441441
path.join(pgDir, "init.sql"),
442442
`
443-
CREATE DATABASE seamless_auth;
444-
CREATE DATABASE seamless_api;
443+
CREATE DATABASE seamless_auth;
444+
CREATE DATABASE seamless_api;
445445
`,
446446
);
447447

0 commit comments

Comments
 (0)