-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
45 lines (41 loc) · 717 Bytes
/
docker-compose.yml
File metadata and controls
45 lines (41 loc) · 717 Bytes
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
version: "3.8"
services:
server:
build:
context: ./server
container_name: rps_server
ports:
- "12345:12345"
restart: always
networks:
- rps-network
proxy:
build:
context: ./proxy
container_name: rps_proxy
depends_on:
- server
ports:
- "8080:8080"
environment:
- SERVER_HOST=server
- SERVER_PORT=12345
restart: always
networks:
- rps-network
client:
build:
context: ./client
container_name: rps_client
depends_on:
- proxy
ports:
- "80:80"
tty: true
stdin_open: true
restart: always
networks:
- rps-network
networks:
rps-network:
driver: bridge