chore: rename folder
@@ -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
|
||||
|
Before Width: | Height: | Size: 59 KiB After Width: | Height: | Size: 59 KiB |
|
Before Width: | Height: | Size: 138 KiB After Width: | Height: | Size: 138 KiB |
|
Before Width: | Height: | Size: 99 KiB After Width: | Height: | Size: 99 KiB |
|
Before Width: | Height: | Size: 99 KiB After Width: | Height: | Size: 99 KiB |
|
Before Width: | Height: | Size: 68 KiB After Width: | Height: | Size: 68 KiB |
|
Before Width: | Height: | Size: 271 KiB After Width: | Height: | Size: 271 KiB |
|
Before Width: | Height: | Size: 308 KiB After Width: | Height: | Size: 308 KiB |
|
Before Width: | Height: | Size: 64 KiB After Width: | Height: | Size: 64 KiB |
|
Before Width: | Height: | Size: 53 KiB After Width: | Height: | Size: 53 KiB |
|
Before Width: | Height: | Size: 308 KiB After Width: | Height: | Size: 308 KiB |
|
Before Width: | Height: | Size: 483 KiB After Width: | Height: | Size: 483 KiB |
|
Before Width: | Height: | Size: 53 KiB After Width: | Height: | Size: 53 KiB |
|
Before Width: | Height: | Size: 64 KiB After Width: | Height: | Size: 64 KiB |
|
Before Width: | Height: | Size: 68 KiB After Width: | Height: | Size: 68 KiB |
|
Before Width: | Height: | Size: 59 KiB After Width: | Height: | Size: 59 KiB |
|
Before Width: | Height: | Size: 132 KiB After Width: | Height: | Size: 132 KiB |
@@ -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
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||