26 lines
638 B
YAML
26 lines
638 B
YAML
# 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:
|