aboutsummaryrefslogtreecommitdiffstats
path: root/extra/docker/README.md
blob: c102de74244f149df5f9881f483d853d0d0280f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27

This docker compose file can be used for local development without needing to
install some large dependencies. Currently it isn't *required* for core
development (the fatcat API server and most of the web interface), and also
doesn't bundle *all* dependencies.

To start docker compose (kafka, zookeeper, elasticsearch) with logging in the
current terminal:

    docker-compose up

This mode is recommended for most development because the services consume a
lot of RAM and you don't want them sticking around by accident. You can run the
services in the background by adding the `-d` flag.

TODO:
- postgres
- fatcatd (rust)
- kibana

## Test Base Image

    docker build -t bnewbold/fatcat-test-base -f Dockerfile.test-base .

If it looks good:

    docker push bnewbold/fatcat-test-base:latest