* add cms turbo app * add cms scripts to package.json * update README * update README * update files * fix formatting * fix populateAuthors * sync dependencies * update launch week field * update lint config * Coordinate the deps to be the same as the other apps. * Remove extra files. * Run prettier on the CMS files. * Add commands for cleaning and typechecking. * Fix weird version of @types/react in docs. * run pnpm install * fix pnpm-lock * fix cms lint --------- Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
31 lines
614 B
YAML
31 lines
614 B
YAML
version: '3'
|
|
|
|
services:
|
|
payload:
|
|
image: node:18-alpine
|
|
ports:
|
|
- '3030:3030'
|
|
volumes:
|
|
- .:/home/node/app
|
|
- node_modules:/home/node/app/node_modules
|
|
working_dir: /home/node/app/
|
|
command: sh -c "corepack enable && corepack prepare pnpm@latest --activate && pnpm install && pnpm dev"
|
|
depends_on:
|
|
- postgres
|
|
env_file:
|
|
- .env
|
|
|
|
# Uncomment the following to use postgres
|
|
postgres:
|
|
restart: always
|
|
image: postgres:latest
|
|
volumes:
|
|
- pgdata:/var/lib/postgresql/data
|
|
ports:
|
|
- "5432:5432"
|
|
|
|
volumes:
|
|
data:
|
|
# pgdata:
|
|
node_modules:
|