-
Notifications
You must be signed in to change notification settings - Fork 0
compose.local.yml consolidation #549
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
6eb209b
activate spring profile `local`
msladek c5127f6
parametrise & consolidate compose.local.yml
msladek 5105fb0
add external: true
msladek 7575f60
fix DB_HOST
msladek a656642
remove volume legacy fallback
msladek 1fdab32
set velocity encoding UTF-8
msladek 66bea3d
Merge remote-tracking branch 'origin/dev' into spring-profile
msladek 22f1e60
remove dev/prod node configs
msladek a5ded35
forge.celhosting.ch
msladek 6d774c3
bind compose.local ports to localhost
msladek e9eee29
add VITE_CEL_API_URL for local vite proxy
msladek File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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 @@ | ||
| VITE_CEL_API_URL=http://localhost:2080 |
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,47 +1,39 @@ | ||
| name: celements-web | ||
| name: ${APP_NAME} | ||
| services: | ||
|
|
||
| webserver: | ||
| container_name: celements-web | ||
| image: ghcr.io/synventis-infra/tomcat:release | ||
| web: | ||
| image: forge.celhosting.ch/synventis-infra/tomcat:release | ||
| ports: | ||
| - "${TOMCAT_PORT:-2080}:8080" # tomcat | ||
| - "${JPDA_PORT:-2000}:8000" # remote debugging | ||
| - "127.0.0.1:${TOMCAT_PORT:-2080}:8080" # tomcat | ||
| - "127.0.0.1:${JPDA_PORT:-2000}:8000" # remote debugging | ||
| env_file: | ||
| - .env | ||
| - .env.tomcat | ||
| volumes: | ||
| - ./target/celements-web:/usr/local/tomcat/webapps/ROOT:ro | ||
| - web-data:${APP_DATA}:rw | ||
| - ./target/${APP_NAME}-web:/usr/local/tomcat/webapps/ROOT:ro | ||
| - ./docker/tomcat/log4j2.properties:/usr/local/tomcat/webapps/ROOT/WEB-INF/classes/log4j2.properties:ro | ||
| restart: unless-stopped | ||
| networks: | ||
| - celements | ||
| logging: | ||
| driver: journald | ||
| depends_on: | ||
| - sqlserver | ||
| - db | ||
|
|
||
| sqlserver: | ||
| container_name: celements-db | ||
| db: | ||
| image: mariadb:10.1 | ||
| ports: | ||
| - "${DB_HOST_PORT:-2306}:3306" # for direct client access | ||
| - "127.0.0.1:${DB_HOST_PORT:-2306}:3306" # for direct client access | ||
| env_file: .env | ||
| environment: | ||
| - "MYSQL_ROOT_PASSWORD=${DB_ROOT_PASSWORD:?}" | ||
| volumes: | ||
| - db-data:/var/lib/mysql | ||
| - ./docker/sqlserver/mysql.cnf:/etc/mysql/conf.d/mysql.cnf:ro | ||
| - ./docker/sqlserver/init:/docker-entrypoint-initdb.d:ro | ||
| - ./docker/mariadb/mysql.cnf:/etc/mysql/conf.d/mysql.cnf:ro | ||
| - ./docker/mariadb/init:/docker-entrypoint-initdb.d:ro | ||
| restart: unless-stopped | ||
| networks: | ||
| - celements | ||
| logging: | ||
| driver: journald | ||
|
|
||
| volumes: | ||
| web-data: | ||
| db-data: | ||
|
|
||
| networks: | ||
| celements: | ||
| driver: bridge | ||
This file contains hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -7,6 +7,5 @@ | |
| .vscode | ||
| compose.local.yml | ||
| compose.build.yml | ||
| docker/sqlserver | ||
| node_modules | ||
| target | ||
File renamed without changes.
File renamed without changes.
This file contains hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.