-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
94 lines (87 loc) · 2.41 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
version: "3.9"
services:
primes:
build: .
command: primes
container_name: prime_sieve
environment:
- NUM_PRIMES=10000
- STARTING_PRIME_INDEX=1
- SOCKET_LOCATION=/var/run/primes/prime_sieve.sock
volumes:
- prime_sieve_socket:/var/run/primes:rw
# All these guessers were auto generated using src/bin/create_bot.rs
guesser1:
build: .
command: guesser
container_name: guesser_Q3PaVAn9je
depends_on:
- primes
environment:
- USERNAME=Q3PaVAn9je
- PASSWORD=password
volumes:
- prime_sieve_socket:/var/run/primes:rw
guesser2:
build: .
command: guesser
container_name: guesser_qSb2GxiRHb
depends_on:
- primes
environment:
- USERNAME=qSb2GxiRHb
- PASSWORD=password
volumes:
- prime_sieve_socket:/var/run/primes:rw
guesser3:
build: .
command: guesser
container_name: guesser_aZSQwxprle
depends_on:
- primes
environment:
- USERNAME=aZSQwxprle
- PASSWORD=password
volumes:
- prime_sieve_socket:/var/run/primes:rw
guesser4:
build: .
command: guesser
container_name: guesser_EirnKT6g02
depends_on:
- primes
environment:
- USERNAME=EirnKT6g02
- PASSWORD=password
volumes:
- prime_sieve_socket:/var/run/primes:rw
guesser5:
build: .
command: guesser
container_name: guesser_6wNvu3xnFs
depends_on:
- primes
environment:
- USERNAME=6wNvu3xnFs
- PASSWORD=password
volumes:
- prime_sieve_socket:/var/run/primes:rw
guesser6:
build: .
command: guesser
container_name: guesser_Ot4wcSZrQG
depends_on:
- primes
environment:
- USERNAME=Ot4wcSZrQG
- PASSWORD=password
volumes:
- prime_sieve_socket:/var/run/primes:rw
volumes:
prime_sieve_socket: