-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
70 lines (65 loc) · 1.91 KB
/
docker-compose.yml
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
version: "3"
services:
client:
container_name: jugendwerkstatt.client
build:
context: ./client
dockerfile: Dockerfile_dev
networks: [default]
ports: [8060:3000]
stop_signal: SIGKILL
volumes:
- ./client/:/app
- /app/node_modules
server:
container_name: jugendwerkstatt.server
image: maven:3-openjdk-17-slim
command: mvn clean spring-boot:run -DexcludeDevtools=false
networks: [default]
ports: [8061:8080]
stop_signal: SIGKILL
working_dir: /src/wooportal.server
volumes:
- ./server:/src/wooportal.server
- ./server/.m2:/root/.m2
- ./server/.storage:/var/lib/wooportal/storage
environment:
- SPRING_PROFILES_ACTIVE=development
- WOOPORTAL_DB_HOST=server-db
- WOOPORTAL_DB_NAME=jugendwerkstatt
- WOOPORTAL_DB_PASS=jugendwerkstatt
- WOOPORTAL_DB_PORT=5432
- WOOPORTAL_DB_USER=jugendwerkstatt
- WOOPORTAL_HOST=localhost:3000
- WOOPORTAL_MAIL_FROM=info@codeschluss.de
- WOOPORTAL_MAIL_RCPT=error@codeschluss.de
- WOOPORTAL_MAIL_HOST=mail
- WOOPORTAL_MAIL_PORT=1025
- WOOPORTAL_MAIL_USER=
- WOOPORTAL_MAIL_PASS=
- WOOPORTAL_PORTAL_NAME=Jugendwerkstatt
- WOOPORTAL_PUSH_SECRET=credentials/firebase-credentials.json
- WOOPORTAL_STORAGE_LOCATION=/var/lib/wooportal/storage
server-db:
container_name: jugendwerkstatt.db
image: library/postgres:14-alpine
networks: [default]
ports: [8062:5432]
stop_signal: SIGKILL
restart: unless-stopped
volumes:
- jugendwerkstatt-db:/var/lib/postgresql/data
environment:
- POSTGRES_USER=jugendwerkstatt
- POSTGRES_PASSWORD=jugendwerkstatt
mail:
container_name: jugendwerkstatt.mail
image: maildev/maildev
networks: [default]
ports:
- "8064:1080"
- "8065:1025"
stop_signal: SIGKILL
volumes:
jugendwerkstatt-db:
driver: local