mirror of
https://github.com/fergalmoran/onearmy-community-platform.git
synced 2025-12-26 03:29:21 +00:00
chore: move emulator stuff to the root folder
This commit is contained in:
@@ -6,20 +6,20 @@ services:
|
|||||||
container_name: backend
|
container_name: backend
|
||||||
build:
|
build:
|
||||||
context: ./
|
context: ./
|
||||||
dockerfile: ./functions/emulator/Dockerfile
|
dockerfile: ./emulator/Dockerfile
|
||||||
depends_on:
|
depends_on:
|
||||||
simulated-webhook-receiver:
|
simulated-webhook-receiver:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
ports:
|
ports:
|
||||||
- 4001-4008:4001-4008
|
- 4001-4008:4001-4008
|
||||||
volumes:
|
volumes:
|
||||||
|
- ./emulator/logs:/app/logs
|
||||||
- ./functions:/app/functions
|
- ./functions:/app/functions
|
||||||
- ./functions/data/emulator:/seed
|
- ./functions/data/emulator:/seed
|
||||||
- ./functions/logs:/app/logs
|
|
||||||
- ./functions/src/emailNotifications/templates:/templates
|
- ./functions/src/emailNotifications/templates:/templates
|
||||||
|
|
||||||
simulated-webhook-receiver:
|
simulated-webhook-receiver:
|
||||||
container_name: simulated-webhook-receiver
|
container_name: simulated-webhook-receiver
|
||||||
build:
|
build:
|
||||||
context: ./packages/simulated-webhook-receiver/
|
context: ./packages/simulated-webhook-receiver
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
# therefore these commands should be ran from there.
|
# therefore these commands should be ran from there.
|
||||||
#
|
#
|
||||||
# BUILD
|
# BUILD
|
||||||
# docker build -f ./functions/emulator/Dockerfile -t emulator .
|
# docker build -f ./emulator/Dockerfile -t emulator .
|
||||||
#
|
#
|
||||||
# RUN
|
# 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 emulator
|
||||||
@@ -86,9 +86,9 @@ COPY ./firebase.storage.rules ./firebase.storage.rules
|
|||||||
COPY ./firestore.indexes.json ./firestore.indexes.json
|
COPY ./firestore.indexes.json ./firestore.indexes.json
|
||||||
COPY ./firestore.rules ./firestore.rules
|
COPY ./firestore.rules ./firestore.rules
|
||||||
|
|
||||||
COPY ./functions/emulator/export.js ./export.js
|
COPY ./emulator/export.js ./export.js
|
||||||
|
|
||||||
COPY ./functions/emulator/link-logs.js ./link-logs.js
|
COPY ./emulator/link-logs.js ./link-logs.js
|
||||||
|
|
||||||
# This folder needs to exist because otherwise
|
# This folder needs to exist because otherwise
|
||||||
# the emulators error if the user did not mount
|
# the emulators error if the user did not mount
|
||||||
Reference in New Issue
Block a user