Skip to content

Commit 58ada46

Browse files
committed
Merge remote-tracking branch 'origin/main' into 978-migrate-users
2 parents b309023 + d9fc7e4 commit 58ada46

File tree

12 files changed

+117
-7
lines changed

12 files changed

+117
-7
lines changed

.github/workflows/codegen.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
tags: github-action
4343

4444
- name: Start containers
45-
run: docker-compose -f "docker-compose.test.yml" up -d --build
45+
run: docker compose -f "docker-compose.test.yml" up -d --build
4646

4747
# setup node
4848
- name: Install node
@@ -73,4 +73,4 @@ jobs:
7373
7474
- name: Stop containers
7575
if: always()
76-
run: docker-compose -f "docker-compose.test.yml" down
76+
run: docker compose -f "docker-compose.test.yml" down

.github/workflows/pytest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
pipenv install --deploy --dev
3636
3737
- name: Start env
38-
run: docker-compose -f ../docker-compose.dev.yml up -d
38+
run: docker compose -f ../docker-compose.dev.yml up -d
3939

4040
# wait for docker containers to come up before running tests
4141
- name: Sleep for 60 seconds

docs/docs/admins/backups.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Backups

docs/docs/admins/config.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Configuration
2+
3+
Each instance of Clowder can be configured at deployment time using the config file. The config file is located
4+
in `backend/app/config.py`. At run time, environmental variables passed into the container will override the defaults
5+
in the config file. When using Docker Compose, the environmental variables are set in the `docker-compose.yml` file or
6+
in `.env` file. In the case of Kubernetes, the environmental variables are set in the `values.yaml` file.

docs/docs/admins/dockercompose.md

Whitespace-only changes.

docs/docs/admins/index.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Overview
2+
3+
Clowder relies heavily on [Docker](https://www.docker.com/) containers for both development and production. There are
4+
two options to deploy Clowder in production: [Docker Compose]((dockercompose.md)) and [Kubernetes Helm
5+
charts](https://helm.sh/).
6+
7+
## Docker Compose
8+
9+
The easiest way to get started is to clone the repository and run `docker compose up` in the main directory. This will
10+
start all the services and the web interface. Internally, docker compose will run
11+
[traeifk](https://traefik.io/traefik/) as a reverse proxy and make all services available on the host machine.
12+
13+
```
14+
docker compose up
15+
open http://localhost
16+
```
17+
18+
For more information on using docker compose see [Docker Compose](dockercompose.md).
19+
20+
## Kubernetes Helm Charts
21+
22+
While this works find for single node instances, if you want to scale the system, you can use the Helm charts to deploy
23+
the application on a Kubernetes cluster. The Helm charts are available in the `deployments/kubernetes/charts` directory.
24+
See *README.md* in that directory for more information.
25+
26+
For more information on kubernetes and Helm see [Kubernetes](kubernetes.md).

docs/docs/admins/kubernetes.md

Whitespace-only changes.

docs/docs/devs/architecture.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,9 @@ Lines show interactions between containers over the docker network.
1010
![Clowder v2 architecture](../assets/images/architecture.jpg)
1111
<figcaption>Architecture</figcaption>
1212
</figure>
13+
I want to `slkdfjslkdjf` include a
14+
15+
- alkdjflskjdf
16+
- alskdjflksajfd
17+
- [slkjdf](http://clowder.com)
18+
-
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Webpack Lazy Loading

docs/docs/devs/precommits.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Precommits and Linting
2+

0 commit comments

Comments
 (0)