-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (37 loc) · 915 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
39 lines (37 loc) · 915 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
version: '3'
services:
compile:
build: project1_vacationcenter2-compile:latest
volumes:
- .:/app
command: bash -c "make all"
postgres-activities:
build: ./src/docker/postgres-activities
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=password
ports:
- "5432:5432"
volumes:
- ./data:/var/lib/postgresql/data
auth_server:
build: ./src/docker/auth_server
ports:
- "5050:5050"
volumes:
- ./data:/opt/auth_server/data
depends_on:
- compile
custom_http_server:
build: ./src/docker/custom_http_server
ports:
- "8090:8090"
- "8091:8091"
- "21:21"
- "990:990"
volumes:
- ./www:/opt/custom_http_server/www:z
- ./logs:/opt/custom_http_server/logs:z
- ./ssl:/opt/custom_http_server/ssl:z
depends_on:
- compile