Skip to content

Commit d8683b4

Browse files
committed
rename
1 parent 161c98f commit d8683b4

File tree

161 files changed

+1426
-766
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

161 files changed

+1426
-766
lines changed

README.md

Lines changed: 2 additions & 2 deletions

apps/db-service/.dockerignore renamed to apps/proxy/.dockerignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ dist
66
.next
77

88
apps
9-
!apps/db-service
9+
!apps/proxy
1010
!packages/supabase/dist
File renamed without changes.

apps/db-service/Dockerfile renamed to apps/proxy/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,12 @@ RUN apt-get update && \
6161
COPY --from=build-s3fs /usr/local/bin/s3fs /usr/local/bin/s3fs
6262
# We copy the root node_modules
6363
COPY --from=build-app /app/node_modules /app/node_modules
64-
# We copy the db-service folder
65-
COPY --from=build-app /app/apps/db-service /app/db-service
64+
# We copy the proxy folder
65+
COPY --from=build-app /app/apps/proxy /app/proxy
6666

6767
EXPOSE 5432
6868

69-
ENTRYPOINT [ "./db-service/entrypoint.sh" ]
69+
ENTRYPOINT [ "./proxy/entrypoint.sh" ]
7070

7171
# Start the server by default, this can be overwritten at runtime
72-
CMD [ "node", "db-service/dist/index.js" ]
72+
CMD [ "node", "proxy/dist/index.js" ]

apps/db-service/README.md renamed to apps/proxy/README.md

Lines changed: 5 additions & 5 deletions

apps/db-service/docker-compose.yml renamed to apps/proxy/docker-compose.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
services:
2-
db-service:
3-
image: db-service
2+
proxy:
3+
image: proxy
44
build:
55
context: ../..
6-
dockerfile: apps/db-service/Dockerfile
6+
dockerfile: apps/proxy/Dockerfile
77
env_file:
88
- .env
99
ports:
@@ -58,7 +58,7 @@ services:
5858
context: ./tools/dns
5959
environment:
6060
WILDCARD_DOMAIN: db.example.com
61-
SERVICE_NAME: db-service
61+
SERVICE_NAME: proxy
6262
networks:
6363
default:
6464
ipv4_address: 172.20.0.10
File renamed without changes.

apps/db-service/fly.toml renamed to apps/proxy/fly.toml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
app = 'postgres-new-dev'
1+
app = 'postgres-new-proxy'
2+
23
primary_region = 'yyz'
34

45
[[services]]
@@ -20,7 +21,3 @@ soft_limit = 20
2021
memory = '1gb'
2122
cpu_kind = 'shared'
2223
cpus = 1
23-
24-
[mounts]
25-
source = "postgres_new_data"
26-
destination = "/mnt/data"
File renamed without changes.

0 commit comments

Comments
 (0)