diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | docker-compose.yml | 22 |
2 files changed, 5 insertions, 18 deletions
@@ -1,3 +1,4 @@ | |||
1 | /target | 1 | /target |
2 | /postgres-data | 2 | /postgres-data |
3 | webol-cli.toml | 3 | webol-cli.toml |
4 | /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 @@ | |||
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" | ||