-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #192 from esuomi/refactor_local_dev
Refactor local development environment
- Loading branch information
Showing
6 changed files
with
258 additions
and
68 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: 'tiamat' | ||
|
||
services: | ||
db: | ||
container_name: '${COMPOSE_PROJECT_NAME}_postgis13' | ||
image: 'postgis/postgis:13-master' | ||
hostname: postgres | ||
platform: linux/amd64 | ||
restart: always | ||
environment: | ||
POSTGRES_USER: tiamat | ||
POSTGRES_PASSWORD: tiamat | ||
POSTGRES_HOST: postgres | ||
ports: | ||
- "37432:5432" | ||
volumes: | ||
- postgres-data:/var/lib/postgresql | ||
networks: | ||
- tiamat-net | ||
|
||
volumes: | ||
postgres-data: | ||
|
||
networks: | ||
tiamat-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
17 changes: 17 additions & 0 deletions
17
src/main/java/org/rutebanken/tiamat/changelog/LocalChangelogConfiguration.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,17 @@ | ||
package org.rutebanken.tiamat.changelog; | ||
|
||
import org.springframework.boot.autoconfigure.EnableAutoConfiguration; | ||
import org.springframework.boot.autoconfigure.jms.JmsAutoConfiguration; | ||
import org.springframework.boot.autoconfigure.jms.activemq.ActiveMQAutoConfiguration; | ||
import org.springframework.context.annotation.Configuration; | ||
import org.springframework.context.annotation.Profile; | ||
|
||
/** | ||
* This configuration disables conflicting autoconfiguration used by other variants of the changelog feature. | ||
*/ | ||
@Configuration | ||
@EnableAutoConfiguration(exclude = {JmsAutoConfiguration.class, ActiveMQAutoConfiguration.class}) | ||
@Profile("local-changelog") | ||
public class LocalChangelogConfiguration { | ||
// intentionally left blank | ||
} |
Oops, something went wrong.