Skip to content

Commit

Permalink
refactor: rename service folders to match underlying service
Browse files Browse the repository at this point in the history
  • Loading branch information
TillaTheHun0 committed Jan 26, 2024
1 parent b101a4d commit a3a86c2
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion search/Dockerfile → .elasticsearch/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# The official Elasticsearch Docker image
FROM docker.elastic.co/elasticsearch/elasticsearch:7.16.1
FROM docker.elastic.co/elasticsearch/elasticsearch:8.12.0

# Copy our config file over
COPY --chown=1000:0 config/elasticsearch.yml /usr/share/elasticsearch/config/elasticsearch.yml
Expand Down
File renamed without changes.
3 changes: 3 additions & 0 deletions .minio/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM minio/minio:RELEASE.2024-01-18T22-51-28Z

ENTRYPOINT ["minio", "server", "/data"]
1 change: 1 addition & 0 deletions .mongodb/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
FROM mongo:7.0.5
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion app/utils.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { assert, assertEquals, assertThrows } from 'https://deno.land/std@0.199.0/assert/mod.ts';
import { assert, assertEquals, assertThrows } from 'https://deno.land/std@0.213.0/assert/mod.ts';
import * as jwt from 'https://deno.land/x/[email protected]/mod.ts';

import { env, verifyAuthorizationHeader } from './utils.ts';
Expand Down
1 change: 0 additions & 1 deletion data/Dockerfile

This file was deleted.

24 changes: 12 additions & 12 deletions render.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,14 @@ services:
type: web
property: host

# MongoDB Server powering hyper Data
# MongoDB Server powering hyper Data Services
- type: pserv
name: mongodb
env: docker
# Change to the desired Render plan
plan: starter
dockerfilePath: ./data/Dockerfile
dockerContext: ./data
dockerfilePath: ./.mongodb/Dockerfile
dockerContext: ./.mongodb
# Use a Render Disk to persist data
disk:
name: mongodbdata
Expand All @@ -90,12 +90,12 @@ services:
- key: MONGO_INITDB_ROOT_PASSWORD
generateValue: true

# Redis
# Redis Server power hyper Cache and hyper Queue Services
- type: pserv
name: redis
env: docker
dockerfilePath: ./cache/Dockerfile
dockerContext: ./cache
dockerfilePath: ./.redis/Dockerfile
dockerContext: ./.redis
# Change to the desired Render plan
plan: starter
autoDeploy: false
Expand All @@ -105,15 +105,15 @@ services:
# Change this value if you'd like more cache storage
sizeGB: 5

# Elasticsearch
# Elasticsearch power hyper Search Services
- type: pserv
name: elasticsearch
env: docker
# Change to the desired Render plan
# NOTE: this has to be at least standard or Elasticsearch errors due to insufficient memory -___-
plan: standard
dockerfilePath: ./search/Dockerfile
dockerContext: ./search
dockerfilePath: ./.elasticsearch/Dockerfile
dockerContext: ./.elasticsearch
disk:
name: esdata
mountPath: /usr/share/elasticsearch/data
Expand All @@ -128,15 +128,15 @@ services:
- key: cluster.name
value: elastic

# MinIO Server
# MinIO Server to power hyper Storage Services
# In order for MinIO to accept requests using presigned urls,
# the server must be made public
- type: web
name: minio
env: docker
plan: starter
dockerfilePath: ./storage/Dockerfile
dockerContext: ./storage
dockerfilePath: ./.minio/Dockerfile
dockerContext: ./.minio
disk:
name: miniodata
mountPath: /data
Expand Down
3 changes: 0 additions & 3 deletions storage/Dockerfile

This file was deleted.

0 comments on commit a3a86c2

Please sign in to comment.