mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-11-15 03:55:41 +08:00
a0416d3eba
* chore: allow backend docker compose to start the api-server alongside redis & mongodb * chore: update node versions in docker compose * chore: add an extra compose file in backend * docs: update advanced contribution guide with docker compose changes * add docker script support server_open env variable * move files * npm scripts rename file * add docker ignore * fix redis not working * rename file * mounting root instead * update docs * update docs table of contents * restart on fail --------- Co-authored-by: Miodec <jack@monkeytype.com>
15 lines
372 B
YAML
15 lines
372 B
YAML
name: monkeytype
|
|
services:
|
|
frontend:
|
|
container_name: monkeytype-frontend
|
|
image: node:18.19.1
|
|
# restart: on-failure
|
|
environment:
|
|
- SERVER_OPEN=false
|
|
ports:
|
|
- "3000:3000"
|
|
volumes:
|
|
- ../../:/monkeytype
|
|
user: node
|
|
entrypoint: 'bash -c "cd /monkeytype/frontend && npm i && npm run dev"'
|
|
# entrypoint: "tail -f /dev/null"
|