-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
53 lines (50 loc) · 1.16 KB
/
Copy pathcompose.yaml
File metadata and controls
53 lines (50 loc) · 1.16 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
41
42
43
44
45
46
47
48
49
50
51
52
53
name: vlovric21_docker_compose
networks:
mreza_vlovric21:
external: true
volumes:
svezak_vlovric21:
external: true
services:
tvrtka:
build:
context: ./vlovric21_vjezba_08_dz_3_tvrtka
dockerfile: Dockerfile
image: tvrtka_vlovric21
container_name: tvrtka_vlovric21
hostname: tvrtka_vlovric21
volumes:
- svezak_vlovric21:/usr/app/podaci
networks:
mreza_vlovric21:
ipv4_address: 20.24.5.2
stdin_open: true
tty: true
servis:
build:
context: ./vlovric21_vjezba_08_dz_3_servisi
dockerfile: Dockerfile
image: servis_vlovric21
container_name: servis_vlovric21
hostname: servis_vlovric21
networks:
mreza_vlovric21:
ipv4_address: 20.24.5.20
stdin_open: true
tty: true
partner:
build:
context: ./vlovric21_vjezba_08_dz_3_partner
dockerfile: Dockerfile
image: partner_vlovric21
container_name: partner_vlovric21
hostname: partner_vlovric21
volumes:
- svezak_vlovric21:/usr/app/podaci
networks:
mreza_vlovric21:
ipv4_address: 20.24.5.3
stdin_open: true
tty: true
depends_on:
- tvrtka