Add fullstack example
This commit is contained in:
16
examples/fullstack/compose.override.yml
Normal file
16
examples/fullstack/compose.override.yml
Normal file
@ -0,0 +1,16 @@
|
||||
---
|
||||
services:
|
||||
backend:
|
||||
build:
|
||||
context: backend
|
||||
target: develop
|
||||
env_file: ./backend/.env
|
||||
volumes:
|
||||
- ./backend:/app
|
||||
- node_modules:/app/node_modules
|
||||
command: /bin/sh -c "node ace generate:key; node ace migration:run --force && node ace serve --watch"
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_healthy
|
||||
volumes:
|
||||
node_modules: {}
|
Reference in New Issue
Block a user