feat: docker-compsoe file
This commit is contained in:
parent
7896dace9f
commit
633f73199d
1 changed files with 26 additions and 0 deletions
26
docker-compose.yml
Normal file
26
docker-compose.yml
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
# SPDX-FileCopyrightText: 2023 Aravinth Manivannan <realaravinth@batsense.net>
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
|
version: "3.9"
|
||||||
|
|
||||||
|
services:
|
||||||
|
powd:
|
||||||
|
image: realaravinth/powd:latest
|
||||||
|
command: powd --help
|
||||||
|
environment:
|
||||||
|
DATABASE_URL: postgres://postgres:password@powd_postgres:5432/postgres # set password at placeholder
|
||||||
|
RUST_LOG: debug
|
||||||
|
depends_on:
|
||||||
|
- powd_postgres
|
||||||
|
|
||||||
|
powd_postgres:
|
||||||
|
image: postgres:13.2
|
||||||
|
volumes:
|
||||||
|
- powd-data:/var/lib/postgresql/
|
||||||
|
environment:
|
||||||
|
POSTGRES_PASSWORD: password # change password
|
||||||
|
PGDATA: /var/lib/postgresql/data/powd/
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
powd-data:
|
Reference in a new issue