mCaptcha/docker-compose.yml
2025-10-07 13:51:20 +05:30

30 lines
587 B
YAML

# SPDX-FileCopyrightText: 2023 Aravinth Manivannan <realaravinth@batsense.net>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
version: "3.9"
services:
mcaptcha:
image: mcaptcha/mcaptcha:latest
ports:
- 7000:7000
env_file:
- .env.docker-compose
depends_on:
- mcaptcha_postgres
- mcaptcha_redis
mcaptcha_postgres:
image: postgres:18.0
volumes:
- mcaptcha-data:/var/lib/postgresql
environment:
POSTGRES_PASSWORD: password # change password
mcaptcha_redis:
image: mcaptcha/cache:latest
volumes:
mcaptcha-data: