Skip to content

Commit

Permalink
feat(nexp): add file system and adapt to fastify (#239)
Browse files Browse the repository at this point in the history
* feat(nexp): add file system and adapt to fastify

Co-authored-by: Natanael Russo <[email protected]>
  • Loading branch information
Rutito2010 and Murzbul authored Mar 17, 2024
1 parent 591eab4 commit cfb6b64
Show file tree
Hide file tree
Showing 89 changed files with 2,456 additions and 37 deletions.
37 changes: 31 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ services:
- ./config:/home/node/config
- ./.env:/home/node/.env
networks:
- experiencenet
- experiencenet

worker:
container_name: experience_worker_1
Expand All @@ -37,7 +37,7 @@ services:
- ./config:/home/node/config
- ./.env:/home/node/.env
networks:
- experiencenet
- experiencenet

db:
container_name: experience_db_1
Expand All @@ -55,7 +55,29 @@ services:
volumes:
- data:/bitnami/mongodb
networks:
- experiencenet
- experiencenet

minio:
container_name: experience_minio_1
restart: always
image: minio/minio
ports:
- "9000:9000"
- "9001:9001"
labels:
- traefik.http.routers.api.rule=Host(`minio.domain.com`)
- traefik.http.routers.api.tls=true
- traefik.http.routers.api.tls.certresolver=lets-encrypt
- traefik.port=80
networks:
- experiencenet
environment:
MINIO_ROOT_USER: minio
MINIO_ROOT_PASSWORD: 12345678
MINIO_DOMAIN: localhost
volumes:
- minio:/data
command: server --address 0.0.0.0:9000 --console-address 0.0.0.0:9001 /data

rabbitmq:
image: rabbitmq:3.9-management-alpine
Expand All @@ -68,7 +90,7 @@ services:
RABBITMQ_DEFAULT_USER: user
RABBITMQ_DEFAULT_PASS: password
networks:
- experiencenet
- experiencenet

mail:
container_name: experience_mail_1
Expand All @@ -78,7 +100,7 @@ services:
- "1025:1025"
- "8025:8025"
networks:
- experiencenet
- experiencenet

cache:
image: docker.dragonflydb.io/dragonflydb/dragonfly
Expand All @@ -93,7 +115,7 @@ services:
- DRAGONFLY_PASSWORD=ewsua132435
- DISABLE_COMMANDS=FLUSHDB,FLUSHALL,CONFIG
networks:
- experiencenet
- experiencenet
volumes:
- cache:/data

Expand All @@ -108,3 +130,6 @@ volumes:
driver: "local"
cache:
driver: "local"
minio:
driver: "local"

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"@fastify/compress": "^7.0.0",
"@fastify/cors": "^9.0.1",
"@fastify/helmet": "^11.1.1",
"@fastify/multipart": "^8.1.0",
"@godaddy/terminus": "^4.12.1",
"@mikro-orm/core": "^6.1.5",
"@mikro-orm/postgresql": "^6.1.5",
Expand Down
Loading

0 comments on commit cfb6b64

Please sign in to comment.