From b4f59c226c6916a3e45f1a52dc6a9b15c800297a Mon Sep 17 00:00:00 2001 From: fx Date: Wed, 18 Oct 2023 15:11:44 +0200 Subject: basic cli, only start and get device --- docker-compose.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 docker-compose.yml (limited to 'docker-compose.yml') 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 @@ +services: + webol: + image: ghcr.io/fxqnlr/webol:dev-2 + container_name: webol + restart: no + depends_on: + - db + environment: + - RUST_LOG=info,webol=trace + - WEBOL_DATABASE_URL=postgres://postgres:postgres@localhost:5432/webol + - WEBOL_APIKEY=aaa + - WEBOL_SERVERADDR=127.0.0.1:7229 + network_mode: host + + db: + image: postgres + container_name: webol-db + restart: no + environment: + POSTGRES_PASSWORD: postgres + POSTGRES_DB: webol + volumes: + - ./postgres-data:/var/lib/postgresql/data + ports: + - "5432:5432" -- cgit v1.2.3