aboutsummaryrefslogtreecommitdiffstats
path: root/extra/docker/README.md
blob: b3445b0c912ddf7e913aea24847b1497d8bad12c (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
28
29
30

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

NOTE: check that you don't have `sshuttle` or other VPN things running before
attempting a build.

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

If it looks good:

    docker push bnewbold/fatcat-test-base:latest