diff --git a/README.md b/README.md new file mode 100644 index 0000000..5caf7b0 --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ +# futureporn-monorepo + +## Dev notes + +We are using multiple Dockerfiles which is a inefficiency. We are doing this because we deploy using dokku. We think one Dockerfile per package is the only way for dokku to use monorepo paradigm. \ No newline at end of file diff --git a/compose.yml b/compose.yml index 5a92369..27f4b92 100644 --- a/compose.yml +++ b/compose.yml @@ -14,12 +14,18 @@ services: link2cid: container_name: fp-link2cid restart: on-failure - image: insanity54/link2cid:latest + build: + context: ./packages/link2cid + dockerfile: Dockerfile + target: dev ports: - "3939:3939" environment: API_KEY: ${LINK2CID_API_KEY} IPFS_URL: "http://ipfs0:5001" + PORT: 3939 + volumes: + - ./packages/link2cid/index.js:/app/index.js ipfs0: container_name: fp-ipfs0 diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d2c3620..4ed3ffb 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -28,28 +28,6 @@ importers: specifier: ^4.7.0 version: 4.7.0 - packages/futurebot: - dependencies: - '@types/express': - specifier: ^4.17.21 - version: 4.17.21 - '@types/node': - specifier: ^20.11.0 - version: 20.11.5 - discordeno: - specifier: ^18.0.1 - version: 18.0.1 - dotenv: - specifier: ^16.3.1 - version: 16.3.1 - express: - specifier: ^4.18.2 - version: 4.18.2 - devDependencies: - tsx: - specifier: ^4.7.0 - version: 4.7.0 - packages/next: dependencies: '@fortawesome/fontawesome-free':