diff options
Diffstat (limited to 'docker-compose.yml')
-rw-r--r-- | docker-compose.yml | 25 |
1 files changed, 25 insertions, 0 deletions
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 @@ | |||
1 | services: | ||
2 | webol: | ||
3 | image: ghcr.io/fxqnlr/webol:dev-2 | ||
4 | container_name: webol | ||
5 | restart: no | ||
6 | depends_on: | ||
7 | - db | ||
8 | environment: | ||
9 | - RUST_LOG=info,webol=trace | ||
10 | - WEBOL_DATABASE_URL=postgres://postgres:postgres@localhost:5432/webol | ||
11 | - WEBOL_APIKEY=aaa | ||
12 | - WEBOL_SERVERADDR=127.0.0.1:7229 | ||
13 | network_mode: host | ||
14 | |||
15 | db: | ||
16 | image: postgres | ||
17 | container_name: webol-db | ||
18 | restart: no | ||
19 | environment: | ||
20 | POSTGRES_PASSWORD: postgres | ||
21 | POSTGRES_DB: webol | ||
22 | volumes: | ||
23 | - ./postgres-data:/var/lib/postgresql/data | ||
24 | ports: | ||
25 | - "5432:5432" | ||