mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-11 01:55:40 +00:00
docker compose
This commit is contained in:
23
docker-compose.yml
Normal file
23
docker-compose.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
version: '3.9'
|
||||
|
||||
services:
|
||||
guard:
|
||||
build: .
|
||||
ports:
|
||||
- 7000:7000
|
||||
environment:
|
||||
DATABASE_URL: postgres://postgres:password@postgres:5432/postgres
|
||||
RUST_LOG: debug
|
||||
|
||||
postgres:
|
||||
image: postgres:13.2
|
||||
#ports: 5432:5432
|
||||
volumes:
|
||||
- mcaptcha-guard-data:/var/lib/postgresql/
|
||||
environment:
|
||||
POSTGRES_PASSWORD: password
|
||||
PGDATA: /var/lib/postgresql/data/guard/
|
||||
|
||||
|
||||
volumes:
|
||||
mcaptcha-guard-data:
|
||||
Reference in New Issue
Block a user