-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-dev.yml
49 lines (44 loc) · 1.03 KB
/
docker-compose-dev.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
version: '3.5'
services:
propay:
container_name: propay
image: propra/propay:latest
restart: always
ports:
- 8888:8888
volumes:
- ./PPdata:/code/data
# (alternativ: bootRun direkt ausfuehren, docker-compose ist ingetriert)
ausleiherino24:
container_name: ausleiherino24
build:
context: ./
dockerfile: ausleiherinoDockerfile
ports:
- 8080:8080
env_file:
- ./.env
command: dockerize -wait tcp://db:5432 -timeout 60s -wait tcp://propay:8888 -timeout 60s java -jar app.jar
db:
container_name: pgsql-01
build:
context: ./
dockerfile: PGSQLDockerfile
restart: always
user: "${PUID}:${PGID}"
ports:
- 5432:5432
env_file:
- ./.env
volumes:
- ./pgsql-01/data:/var/lib/postgresql/data
- ./pgsql-01/conf:/config
jenkins:
container_name: jenkins
image: jenkins/jenkins:latest
restart: unless-stopped
ports:
- 9000:8080
- 50000:50000
volumes:
- ~/jenkins_home:/var/jenkins_home