vchikalkin 4c3d305e7f apps/web: hide cbxFloatingRate from product-addon
add cbxPartialVAT & cbxFloatingRate to unlimited
2024-02-01 09:30:02 +03:00
2023-04-03 10:10:18 +03:00
2023-02-28 09:46:31 +03:00
2023-02-28 09:46:31 +03:00
2023-01-11 11:26:08 +03:00
2023-08-01 13:41:44 +03:00
2023-08-01 14:14:18 +03:00
2023-02-06 12:50:34 +03:00
2023-02-03 08:30:24 +03:00
2023-01-11 11:26:08 +03:00
2023-08-01 13:41:44 +03:00
2023-01-11 11:26:08 +03:00
2023-02-06 12:19:39 +03:00
2024-01-14 15:29:23 +03:00

Turborepo Docker starter

This is an official Docker starter Turborepo.

What's inside?

This turborepo uses Yarn as a package manager. It includes the following packages/apps:

Apps and Packages

  • web: a Next.js app
  • api: an Express server
  • ui: ui: a React component library
  • eslint-config-custom: eslint configurations for client side applications (includes eslint-config-next and eslint-config-prettier)
  • eslint-config-custom-server: eslint configurations for server side applications (includes eslint-config-next and eslint-config-prettier)
  • scripts: Jest configurations
  • logger: Isomorphic logger (a small wrapper around console.log)
  • tsconfig: tsconfig.json;s used throughout the monorepo

Each package/app is 100% TypeScript.

Using this example

Run the following command:

npx degit vercel/turbo/examples/with-docker with-docker
cd with-docker
yarn install
git init . && git add . && git commit -m "Init"

Docker

This repo is configured to be built with Docker, and Docker compose. To build all apps in this repo:

# Create a network, which allows containers to communicate
# with each other, by using their container name as a hostname
docker network create app_network

# Build prod using new BuildKit engine
COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker-compose -f docker-compose.yml build --parallel

# Start prod in detached mode
docker-compose -f docker-compose.yml up -d

Open http://localhost:3000.

To shutdown all running containers:

# Stop all running containers
docker kill $(docker ps -q) && docker rm $(docker ps -a -q)

Utilities

This Turborepo has some additional tools already setup for you:

Description
No description provided
Readme 6.2 MiB
Languages
TypeScript 91.2%
JavaScript 8.4%
Dockerfile 0.4%