chore: move emulator seed into folder
@@ -13,9 +13,9 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- 4001-4008:4001-4008
|
- 4001-4008:4001-4008
|
||||||
volumes:
|
volumes:
|
||||||
|
- ./emulator/data:/seed
|
||||||
- ./emulator/logs:/app/logs
|
- ./emulator/logs:/app/logs
|
||||||
- ./functions:/app/functions
|
- ./functions:/app/functions
|
||||||
- ./functions/data/emulator:/seed
|
|
||||||
- ./functions/src/emailNotifications/templates:/templates
|
- ./functions/src/emailNotifications/templates:/templates
|
||||||
|
|
||||||
simulated-webhook-receiver:
|
simulated-webhook-receiver:
|
||||||
|
|||||||
@@ -4,11 +4,13 @@
|
|||||||
# does not create the `dist` folder. It should be mounted from
|
# does not create the `dist` folder. It should be mounted from
|
||||||
# the host machine to the container, using the `-v` flag.
|
# the host machine to the container, using the `-v` flag.
|
||||||
#
|
#
|
||||||
# Optionally, initial data can be setup by mounting `/seed`.
|
# Optionally, initial data can be setup by mounting the `/seed`
|
||||||
|
# folder on the container.
|
||||||
#
|
#
|
||||||
# If you want to not get errors due to missing email templates,
|
# If you want to not get errors due to missing email templates,
|
||||||
# you also need to mount those. The functions code in the
|
# you also need to mount those. The functions code in the
|
||||||
# emulator expects them to be located at `/templates`.
|
# emulator expects them to be located in the `/templates` folder
|
||||||
|
# on the container.
|
||||||
#
|
#
|
||||||
# COMMANDS
|
# COMMANDS
|
||||||
# We need some files from the root directory of the project,
|
# We need some files from the root directory of the project,
|
||||||
@@ -21,7 +23,7 @@
|
|||||||
# 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 emulator
|
||||||
#
|
#
|
||||||
# RUN WITH SEED DATA
|
# RUN WITH SEED DATA
|
||||||
# docker run -v ./functions/data/emulator:/seed -v ./functions:/app/functions -p 4001-4008:4001-4008 -it emulator
|
# docker run -v ./emulator/data:/seed -v ./functions:/app/functions -p 4001-4008:4001-4008 -it emulator
|
||||||
#
|
#
|
||||||
# RUN WITH EMAIL TEMPLATES
|
# 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 emulator
|
||||||
|
|||||||
|
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 |