summaryrefslogtreecommitdiff
path: root/docker-compose.yml
diff options
context:
space:
mode:
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..8e3378f 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-pc:2
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"