summaryrefslogtreecommitdiff
path: root/docker-compose.yml
diff options
context:
space:
mode:
authorfx <[email protected]>2023-10-18 15:11:44 +0200
committerfx <[email protected]>2023-10-18 15:11:44 +0200
commitb4f59c226c6916a3e45f1a52dc6a9b15c800297a (patch)
tree07016e2ac7278da6b63aa839065c5ad572215e50 /docker-compose.yml
downloadwebol-cli-b4f59c226c6916a3e45f1a52dc6a9b15c800297a.tar
webol-cli-b4f59c226c6916a3e45f1a52dc6a9b15c800297a.tar.gz
webol-cli-b4f59c226c6916a3e45f1a52dc6a9b15c800297a.zip
basic cli, only start and get device
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
new file mode 100644
index 0000000..0a52d16
--- /dev/null
+++ b/docker-compose.yml
@@ -0,0 +1,25 @@
1services:
2 webol:
3 image: ghcr.io/fxqnlr/webol:dev-2
4 container_name: webol
5 restart: no
6 depends_on:
7 - db
8 environment:
9 - RUST_LOG=info,webol=trace
10 - WEBOL_DATABASE_URL=postgres://postgres:postgres@localhost:5432/webol
11 - WEBOL_APIKEY=aaa
12 - WEBOL_SERVERADDR=127.0.0.1:7229
13 network_mode: host
14
15 db:
16 image: postgres
17 container_name: webol-db
18 restart: no
19 environment:
20 POSTGRES_PASSWORD: postgres
21 POSTGRES_DB: webol
22 volumes:
23 - ./postgres-data:/var/lib/postgresql/data
24 ports:
25 - "5432:5432"