-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
45 lines (45 loc) · 1.27 KB
/
docker-compose.yml
File metadata and controls
45 lines (45 loc) · 1.27 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
services:
client:
build:
context: client
dockerfile: Dockerfile.develop
volumes:
# Include .git for detecting changes in the workspace (e.g. only run tests on changed files)
- .git:/app/.git:cached
- ./client:/app/client:cached
- ./interfaces:/app/interfaces:cached
- /app/client/node_modules
ports:
- '8080:8080'
server:
build:
context: server
dockerfile: Dockerfile.develop
volumes:
# Include .git for detecting changes in the workspace (e.g. only run tests on changed files)
- .git:/app/.git:cached
- ./server:/app/server:cached
- ./interfaces:/app/interfaces:cached
- ./client:/app/client:cached
- /app/server/node_modules
ports:
- '3000:3000'
database:
image: kartoza/postgis:13
environment:
POSTGRES_USER: vuorovaikutusalusta_user
POSTGRES_PASSWORD: password
POSTGRES_DB: vuorovaikutusalusta_db
DEFAULT_COLLATION: 'fi_FI.UTF8'
DEFAULT_CTYPE: 'fi_FI.UTF8'
POSTGRES_MULTIPLE_EXTENSIONS: 'pgcrypto'
TZ: Europe/Helsinki
volumes:
- .db-data:/var/lib/postgresql:delegated
ports:
- '5432:5432'
email:
profiles: [email]
extends:
file: docker-compose.email.yml
service: email