-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '4.2.0_staging' into main
- Loading branch information
Showing
62 changed files
with
1,230 additions
and
539 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,50 @@ | ||
version: '3.7' | ||
version: '3.8' | ||
|
||
networks: | ||
net: | ||
|
||
networks: | ||
weaver: | ||
|
||
services: | ||
|
||
vireo_db: | ||
container_name: vireo_db | ||
hostname: vireo_db | ||
image: postgres | ||
environment: | ||
POSTGRES_DB: vireo | ||
POSTGRES_USER: vireo | ||
POSTGRES_PASSWORD: vireo | ||
volumes: | ||
- ${LOCAL_VIREO_PGDATA}:/var/lib/postgresql/data | ||
networks: | ||
weaver: | ||
|
||
vireo: | ||
volumes: | ||
pgdata: | ||
assets: | ||
|
||
services: | ||
|
||
db: | ||
image: postgres | ||
environment: | ||
- POSTGRES_DB=vireo | ||
- POSTGRES_USER=vireo | ||
- POSTGRES_PASSWORD=vireo | ||
volumes: | ||
- pgdata:/var/lib/postgresql/data | ||
ports: | ||
- 5432:5432 | ||
networks: | ||
- net | ||
|
||
adminer: | ||
image: adminer | ||
ports: | ||
- 8080:8080 | ||
depends_on: | ||
- db | ||
networks: | ||
- net | ||
|
||
vireo: | ||
container_name: vireo | ||
hostname: vireo | ||
build: | ||
dockerfile: Dockerfile | ||
context: './' | ||
image: ${IMAGE_HOST}/${SERVICE_PROJECT}${SERVICE_PATH}:${IMAGE_VERSION} | ||
ports: | ||
- 9000:9000 | ||
env_file: | ||
- .env | ||
volumes: | ||
- ${LOCAL_VIREO_PATH}:${APP_PATH} | ||
depends_on: | ||
- vireo_db | ||
networks: | ||
weaver: | ||
hostname: vireo | ||
image: ${IMAGE_HOST}/${SERVICE_PROJECT}/${SERVICE_PATH}:${IMAGE_VERSION} | ||
build: | ||
dockerfile: Dockerfile | ||
context: './' | ||
env_file: | ||
- .env | ||
volumes: | ||
- assets:${APP_PATH} | ||
ports: | ||
- 9000:9000 | ||
depends_on: | ||
- db | ||
networks: | ||
- net |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
src/main/java/org/tdl/vireo/config/VireoDatabaseConfig.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package org.tdl.vireo.config; | ||
|
||
import org.springframework.beans.factory.annotation.Value; | ||
import org.springframework.context.annotation.Configuration; | ||
|
||
@Configuration | ||
public class VireoDatabaseConfig { | ||
|
||
@Value("${spring.sql.init.platform:''}") | ||
private String platform; | ||
|
||
public String getPlatform() { | ||
return platform; | ||
} | ||
|
||
public void setPlatform(String platform) { | ||
this.platform = platform; | ||
} | ||
|
||
} |
Oops, something went wrong.