From 23aa75439c3ee60e22ce183853516ca3cdd13ff4 Mon Sep 17 00:00:00 2001 From: FxQnLr Date: Wed, 10 Apr 2024 11:41:45 +0200 Subject: Change docker compose to webol:0.4.0 version --- .gitignore | 1 + docker-compose.yml | 22 ++++------------------ 2 files changed, 5 insertions(+), 18 deletions(-) diff --git a/.gitignore b/.gitignore index f337b94..8fecb9a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /target /postgres-data webol-cli.toml +/devices 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 @@ services: webol: - image: ghcr.io/fxqnlr/webol:dev-9 + image: webol-pc:2 container_name: webol-cli-server restart: no - depends_on: - - db environment: - RUST_LOG=info,webol=trace - - WEBOL_DATABASE_URL=postgres://postgres:postgres@localhost:5432/webol - - WEBOL_APIKEY=dev - - WEBOL_SERVERADDR=0.0.0.0:7229 - network_mode: host - - db: - image: postgres - container_name: webol-cli-db - restart: no - environment: - POSTGRES_PASSWORD: postgres - POSTGRES_DB: webol + - WEBOL_TIMEOFFSET=2 volumes: - - ./postgres-data:/var/lib/postgresql/data - ports: - - "5432:5432" + - ./devices:/devices + network_mode: host -- cgit v1.2.3