diff options
author | FxQnLr <[email protected]> | 2024-06-17 11:19:13 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2024-06-17 11:19:13 +0200 |
commit | b375657e660b199127a76683980a5d210a572ab7 (patch) | |
tree | fbed775283917537c1d2d11bdbf38a0fa7c05a02 /docker-compose.yml | |
parent | 31a57425a76cae121c5d8ef5b0f2442ca6a9ee61 (diff) | |
parent | 0877850a63791772dd19a0af9a0c7c87940aead2 (diff) | |
download | webol-cli-b375657e660b199127a76683980a5d210a572ab7.tar webol-cli-b375657e660b199127a76683980a5d210a572ab7.tar.gz webol-cli-b375657e660b199127a76683980a5d210a572ab7.zip |
0.3.0
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..63b7e5c 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: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" | ||