-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.postgres.yml
38 lines (36 loc) · 1.13 KB
/
docker-compose.postgres.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
services:
nexus-command:
image: savantly/nexus-command:latest
ports:
- "8080:8080"
restart: unless-stopped
environment:
- LOGGING_LEVEL_ROOT=WARN
- ECLIPSELINK_LOGGING_LEVEL=WARNING
- JDBC_LOGGING=false
- nexus.modules.organizations.enabled=true
- nexus.modules.projects.enabled=true
- nexus.modules.franchise.enabled=true
- nexus.modules.web.enabled=true
- nexus.modules.org-web.enabled=true
- nexus.modules.security.enabled=true
- nexus.modules.flow.enabled=true
- nexus.security.enabled=false
- SPRING_PROFILES_ACTIVE=POSTGRESQL
- SPRING_DATASOURCE_URL=jdbc:postgresql://nexus-postgres:5432/nexus
- SPRING_DATASOURCE_USERNAME=nexus
- SPRING_DATASOURCE_PASSWORD=nexus
- SPRING_DATASOURCE_DRIVER_CLASS_NAME=org.postgresql.Driver
volumes:
- ./webapp/log4j2-test.xml:/app/BOOT-INF/classes/log4j2.xml
nexus-postgres:
image: postgres:14
environment:
POSTGRES_USER: nexus
POSTGRES_PASSWORD: nexus
POSTGRES_DB: nexus
ports:
- "5432:5432"
restart: unless-stopped
volumes:
- ./postgres-data:/var/lib/postgresql/data