File tree Expand file tree Collapse file tree 3 files changed +14
-20
lines changed
docs/source/configuration Expand file tree Collapse file tree 3 files changed +14
-20
lines changed Original file line number Diff line number Diff line change 1+ services :
2+ anyvlm_test_db :
3+ image : postgres:17
4+ tmpfs :
5+ - /var/lib/postgresql/data
6+ ports :
7+ - 127.0.0.1:5436:5432
8+ environment :
9+ - POSTGRES_DB=anyvlm_test
10+ - POSTGRES_USER=anyvlm_test
11+ - POSTGRES_PASSWORD=anyvlm-test-pw
Original file line number Diff line number Diff line change 11services :
2-
32 anyvlm_db :
43 image : postgres:17
54 volumes :
@@ -11,19 +10,6 @@ services:
1110 - POSTGRES_USER=anyvlm
1211 - POSTGRES_PASSWORD=anyvlm-pw
1312
14- anyvlm_test_db :
15- image : postgres:17
16- volumes :
17- - anyvlm_test_vol:/var/lib/postgresql/data
18- ports :
19- - 127.0.0.1:5436:5432
20- environment :
21- - POSTGRES_DB=anyvlm_test
22- - POSTGRES_USER=anyvlm_test
23- - POSTGRES_PASSWORD=anyvlm-test-pw
24-
2513volumes :
2614 anyvlm_vol :
2715 external : true
28- anyvlm_test_vol :
29- external : true
Original file line number Diff line number Diff line change @@ -6,23 +6,20 @@ This page describes how to use the provided ``compose.yaml`` file to start AnyVL
66Overview
77--------
88
9- The compose file defines four main services :
9+ The compose file defines one main service :
1010
1111* ``anyvlm_db `` - PostgreSQL database for AnyVLM
12- * ``anyvlm_test_db `` - PostgreSQL database for AnyVLM Tests
1312
14- It also defines Docker volumes :
13+ It also defines a Docker volume :
1514
1615* ``anyvlm_vol `` - storage for the AnyVLM PostgreSQL data directory
17- * ``anyvlm_test_vol `` - storage for the AnyVLM PostgreSQL Test data directory
1816
19- These volumes are declared as ``external: true ``, so it must exist before
17+ This volume is declared as ``external: true ``, so it must exist before
2018you run ``docker compose up ``. For example:
2119
2220.. code-block :: bash
2321
2422 docker volume create anyvlm_vol
25- docker volume create anyvlm_test_vol
2623
2724 Running the stack
2825-----------------
You can’t perform that action at this time.
0 commit comments