2024-02-05 deploy attempt 1
This commit is contained in:
parent
59da569c96
commit
b56b694270
|
@ -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.
|
|
@ -14,12 +14,18 @@ services:
|
||||||
link2cid:
|
link2cid:
|
||||||
container_name: fp-link2cid
|
container_name: fp-link2cid
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
image: insanity54/link2cid:latest
|
build:
|
||||||
|
context: ./packages/link2cid
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
target: dev
|
||||||
ports:
|
ports:
|
||||||
- "3939:3939"
|
- "3939:3939"
|
||||||
environment:
|
environment:
|
||||||
API_KEY: ${LINK2CID_API_KEY}
|
API_KEY: ${LINK2CID_API_KEY}
|
||||||
IPFS_URL: "http://ipfs0:5001"
|
IPFS_URL: "http://ipfs0:5001"
|
||||||
|
PORT: 3939
|
||||||
|
volumes:
|
||||||
|
- ./packages/link2cid/index.js:/app/index.js
|
||||||
|
|
||||||
ipfs0:
|
ipfs0:
|
||||||
container_name: fp-ipfs0
|
container_name: fp-ipfs0
|
||||||
|
|
|
@ -28,28 +28,6 @@ importers:
|
||||||
specifier: ^4.7.0
|
specifier: ^4.7.0
|
||||||
version: 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:
|
packages/next:
|
||||||
dependencies:
|
dependencies:
|
||||||
'@fortawesome/fontawesome-free':
|
'@fortawesome/fontawesome-free':
|
||||||
|
|
Loading…
Reference in New Issue