summaryrefslogtreecommitdiff
path: root/docker-compose.yml
diff options
context:
space:
mode:
authorFxQnLr <[email protected]>2024-06-17 11:19:13 +0200
committerGitHub <[email protected]>2024-06-17 11:19:13 +0200
commitb375657e660b199127a76683980a5d210a572ab7 (patch)
treefbed775283917537c1d2d11bdbf38a0fa7c05a02 /docker-compose.yml
parent31a57425a76cae121c5d8ef5b0f2442ca6a9ee61 (diff)
parent0877850a63791772dd19a0af9a0c7c87940aead2 (diff)
downloadwebol-cli-0.3.0.tar
webol-cli-0.3.0.tar.gz
webol-cli-0.3.0.zip
Merge pull request #9 from FxQnLr/0.3.0HEAD0.3.0main
0.3.0
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml22
1 files changed, 4 insertions, 18 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index ea10db2..63b7e5c 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -1,25 +1,11 @@
1services: 1services:
2 webol: 2 webol:
3 image: ghcr.io/fxqnlr/webol:dev-9 3 image: webol:4
4 container_name: webol-cli-server 4 container_name: webol-cli-server
5 restart: no 5 restart: no
6 depends_on:
7 - db
8 environment: 6 environment:
9 - RUST_LOG=info,webol=trace 7 - RUST_LOG=info,webol=trace
10 - WEBOL_DATABASE_URL=postgres://postgres:postgres@localhost:5432/webol 8 - WEBOL_TIMEOFFSET=2
11 - WEBOL_APIKEY=dev
12 - WEBOL_SERVERADDR=0.0.0.0:7229
13 network_mode: host
14
15 db:
16 image: postgres
17 container_name: webol-cli-db
18 restart: no
19 environment:
20 POSTGRES_PASSWORD: postgres
21 POSTGRES_DB: webol
22 volumes: 9 volumes:
23 - ./postgres-data:/var/lib/postgresql/data 10 - ./devices:/devices
24 ports: 11 network_mode: host
25 - "5432:5432"