-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
55 lines (51 loc) · 1.06 KB
/
docker-compose.yaml
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
version: "3.9"
services:
postgres:
container_name: postgres
image: postgres:15.2
user: postgres
ports:
- "5432:5432"
networks:
- my-network
env_file:
- .env
healthcheck:
test: ["CMD", "pg_isready", "-U", "postgres"]
interval: 1s
timeout: 2s
retries: 3
start_period: 5s
hashcat:
container_name: hashcat
image: dizcza/docker-hashcat:latest
command: bash -c "tail -f /dev/null"
networks:
- my-network
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]
depends_on:
postgres:
condition: service_healthy
hydra:
container_name: hydra
build:
context: .
dockerfile: docker/hydra/Dockerfile
entrypoint: ""
command: bash -c "tail -f /dev/null"
volumes:
- ./configs/hydra/:/var/configs/
networks:
- my-network
depends_on:
postgres:
condition: service_healthy
networks:
my-network:
driver: bridge