chore: rename folder

This commit is contained in:
David Germain
2024-06-30 01:40:27 +02:00
committed by benfurber
parent 3586ef5167
commit a49e2896bf
51 changed files with 10 additions and 10 deletions

View File

@@ -17,16 +17,16 @@
# therefore these commands should be ran from there.
#
# BUILD
# docker build -f ./emulator/Dockerfile -t emulator .
# docker build -f ./containerization/Dockerfile -t backend .
#
# RUN
# docker run -v ./functions:/app/functions -p 4001-4008:4001-4008 -it emulator
# docker run -v ./functions:/app/functions -p 4001-4008:4001-4008 -it backend
#
# RUN WITH SEED DATA
# docker run -v ./emulator/data:/seed -v ./functions:/app/functions -p 4001-4008:4001-4008 -it emulator
# docker run -v ./containerization/data:/seed -v ./functions:/app/functions -p 4001-4008:4001-4008 -it backend
#
# RUN WITH EMAIL TEMPLATES
# docker run -v ./functions/src/emailNotifications/templates:/templates -v ./functions:/app/functions -p 4001-4008:4001-4008 -it emulator
# docker run -v ./functions/src/emailNotifications/templates:/templates -v ./functions:/app/functions -p 4001-4008:4001-4008 -it backend
#
# EXPORT (while the container is running)
# docker exec -it <conatiner_name> /app/export.js
@@ -88,9 +88,9 @@ COPY ./firebase.storage.rules ./firebase.storage.rules
COPY ./firestore.indexes.json ./firestore.indexes.json
COPY ./firestore.rules ./firestore.rules
COPY ./emulator/export.js ./export.js
COPY ./containerization/export.js ./export.js
COPY ./emulator/link-logs.js ./link-logs.js
COPY ./containerization/link-logs.js ./link-logs.js
# This folder needs to exist because otherwise
# the emulators error if the user did not mount

View File

@@ -6,15 +6,15 @@ services:
container_name: backend
build:
context: ./
dockerfile: ./emulator/Dockerfile
dockerfile: ./containerization/Dockerfile
depends_on:
simulated-webhook-receiver:
condition: service_healthy
ports:
- 4001-4008:4001-4008
volumes:
- ./emulator/data:/seed
- ./emulator/logs:/app/logs
- ./containerization/data:/seed
- ./containerization/logs:/app/logs
- ./functions:/app/functions
- ./functions/src/emailNotifications/templates:/templates

View File

@@ -175,4 +175,4 @@ docker exec -it <container_name> cat /app/firestore-debug.log
## Troubleshooting
See the `./functions/emulator/Dockerfile` for some debugging tips.
See the `./containerization/Dockerfile` file for some debugging tips.