-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
68 lines (62 loc) · 1.35 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
version: "3.5"
services:
postgres:
build:
context: docker/postgres
dockerfile: Dockerfile
image:
mrgurgel/postgres_miguilim
container_name: bd_miguilim
ports:
- "127.0.0.1:5006:5432"
environment:
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- TZ=America/Sao_Paulo
volumes:
- dbdata:/var/lib/postgresql/data
networks:
- nw_miguilim
dspace:
depends_on:
- postgres
build:
context: .
dockerfile: Dockerfile
image:
mrgurgel/dspace_miguilim
environment:
- TZ=America/Sao_Paulo
- CONFIG_FILE=docker.cfg
- DEV_MODE=true
- CONTEXT_NAME=miguilim
- DB_PASSWORD=${DB_PASSWORD}
- SMTP_PASSWORD=${SMTP_PASSWORD}
- SMTP_HOST_IP=${SMTP_HOST_IP}
- ENVIRONMENT=${ENVIRONMENT}
container_name: dspace_miguilim
ports:
- "80:8080"
tty: true
volumes:
- mavenrepo:/root/.m2/repository
- installfolder:/dspace
- thirdpardsoftware:/opt
networks:
- nw_miguilim
networks:
nw_miguilim:
name: nw_miguilim
driver: bridge
volumes:
mavenrepo:
name: miguilim-mavenrepo
driver: local
installfolder:
name: miguilim-installfolder
driver: local
dbdata:
name: miguilim-dbdata
driver: local
thirdpardsoftware:
name: miguilim-thirdpardsoftware
driver: local