diff options
author | FxQnLr <[email protected]> | 2024-04-10 11:41:45 +0200 |
---|---|---|
committer | FxQnLr <[email protected]> | 2024-04-10 11:41:45 +0200 |
commit | 23aa75439c3ee60e22ce183853516ca3cdd13ff4 (patch) | |
tree | 49cfb5a6a247bac7fbe1f8ce35ac4e1775573cc9 /docker-compose.yml | |
parent | 31a57425a76cae121c5d8ef5b0f2442ca6a9ee61 (diff) | |
download | webol-cli-23aa75439c3ee60e22ce183853516ca3cdd13ff4.tar webol-cli-23aa75439c3ee60e22ce183853516ca3cdd13ff4.tar.gz webol-cli-23aa75439c3ee60e22ce183853516ca3cdd13ff4.zip |
Change docker compose to webol:0.4.0 version
Diffstat (limited to 'docker-compose.yml')
-rw-r--r-- | docker-compose.yml | 22 |
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 @@ | |||
1 | services: | 1 | services: |
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" | ||