mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-15 17:19:10 +00:00
chore: add cloudflare worker emulator and supporting bits. now fully offline!
This commit is contained in:
parent
6ddb3e3192
commit
a44983b088
10 changed files with 601 additions and 258 deletions
|
@ -1,16 +1,28 @@
|
|||
# This is the Docker Compose for setting up a local dev environment.
|
||||
# Production uses PaaS equivalents in Google Cloud
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
firestore:
|
||||
image: mtlynch/firestore-emulator
|
||||
environment:
|
||||
FIRESTORE_PROJECT_ID: roleypoly-00000000
|
||||
worker:
|
||||
image: node:14
|
||||
volumes:
|
||||
- '.:/src'
|
||||
ports:
|
||||
- 6691:8080
|
||||
- 6609:6609
|
||||
links:
|
||||
- redis
|
||||
working_dir: /src
|
||||
command: yarn worker
|
||||
|
||||
ui:
|
||||
image: node:14
|
||||
volumes:
|
||||
- '.:/src'
|
||||
ports:
|
||||
- 6601:6601
|
||||
working_dir: /src
|
||||
command: yarn ui
|
||||
|
||||
redis:
|
||||
image: redis:5-alpine
|
||||
image: redis:6-alpine
|
||||
ports:
|
||||
- 6692:6379
|
||||
- 6379
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue