feat: docker-compsoe file

This commit is contained in:
Aravinth Manivannan 2023-08-03 17:11:09 +05:30
parent 7896dace9f
commit 633f73199d
Signed by: realaravinth
GPG key ID: AD9F0F08E855ED88

26
docker-compose.yml Normal file
View 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: