-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
48 lines (44 loc) · 1.03 KB
/
docker-compose.yaml
File metadata and controls
48 lines (44 loc) · 1.03 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
version: '3.7'
services:
frontend:
image: ilyagav/qr-code-scanner-access-frontend:latest
container_name: frontend
hostname: "{{.Node.Hostname}}"
ports:
- target: 4200
published: 4200
protocol: tcp
mode: host
api:
image: ilyagav/qr-code-scanner-access-backend:latest
container_name: api
hostname: "{{.Node.Hostname}}"
depends_on:
- postgres-api
ports:
- target: 80
published: 80
protocol: tcp
mode: host
postgres-api:
image: postgres:latest
container_name: postgres-api
restart: always
environment:
POSTGRES_DB: Access
POSTGRES_USER: developer
POSTGRES_PASSWORD: 1l&h22Fr!oO1
ports:
- target: 5432
published: 5432
protocol: tcp
mode: host
bd-adminer:
image: adminer:latest
container_name: bd-adminer
restart: always
ports:
- target: 8080
published: 4321
protocol: tcp
mode: host