forked from googleprojectzero/fuzzilli
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.master.yml
More file actions
executable file
·41 lines (38 loc) · 1.38 KB
/
Copy pathdocker-compose.master.yml
File metadata and controls
executable file
·41 lines (38 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Postgres reachable from other machines over Tailscale:
# Use this host's Tailscale IP (tailscale ip -4) in POSTGRES_URL, e.g.
# postgresql://fuzzilli:fuzzilli123@100.x.y.z:5432/fuzzilli_master
# Optional: bind only on Tailscale (avoid exposing 5432 on other interfaces):
# POSTGRES_PUBLISH=<tailscale-ip> docker compose -f docker-compose.master.yml up -d
services:
postgres-master:
image: postgres:15-alpine
shm_size: '2gb'
container_name: fuzzilli-postgres-master
environment:
POSTGRES_DB: fuzzilli_master
POSTGRES_USER: fuzzilli
POSTGRES_PASSWORD: fuzzilli123
POSTGRES_INITDB_ARGS: "--encoding=UTF-8 --lc-collate=C --lc-ctype=C"
command:
- postgres
- -c
- listen_addresses=*
- -c
- hba_file=/etc/postgresql/pg_hba.conf
ports:
- "${POSTGRES_PUBLISH:-0.0.0.0}:5432:5432"
volumes:
- /mnt/vdc/new_postgres_data/:/var/lib/postgresql/data
- /mnt/vdc/fuzzillai/Sources/Agentic_System/postgres-init.sql:/docker-entrypoint-initdb.d/init.sql
- /mnt/vdc/fuzzillai/Sources/Agentic_System/docker/postgres/pg_hba.conf:/etc/postgresql/pg_hba.conf:ro
healthcheck:
test: ["CMD-SHELL", "pg_isready -U fuzzilli -d fuzzilli_master"]
interval: 10s
timeout: 5s
retries: 5
restart: unless-stopped
networks:
- fuzzing-network
networks:
fuzzing-network:
driver: bridge