forked from ymark/3M-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update 3M Editor * Update Dockerfile build * Improve compatibility with Docker * port mapping * bind mounts * volumes * Add Docker Compose configurations
- Loading branch information
Showing
10 changed files
with
62 additions
and
30 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
PORT_EDITOR=8080 | ||
PORT_DB=8081 | ||
|
||
# Use volumes | ||
COMPOSE_FILE=./docker-compose.yml:./docker-compose.volumes.yml | ||
|
||
# Use bind mounts | ||
#COMPOSE_FILE=./docker-compose.yml:./docker-compose.binds.yml |
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,18 +1,2 @@ | ||
Resources/3M/BackUp/* | ||
!Resources/3M/BackUp/.gitkeep | ||
Resources/3M/export_import/* | ||
!Resources/3M/export_import/.gitkeep | ||
Resources/3M/rdf_visualizer_files/* | ||
!Resources/3M/rdf_visualizer_files/.gitkeep | ||
Resources/3M/uploads/Mapping/example_files/* | ||
!Resources/3M/uploads/Mapping/example_files/.gitkeep | ||
Resources/3M/uploads/Mapping/generator_files/* | ||
!Resources/3M/uploads/Mapping/generator_files/.gitkeep | ||
Resources/3M/uploads/Mapping/Other/* | ||
!Resources/3M/uploads/Mapping/Other/.gitkeep | ||
Resources/3M/uploads/Mapping/rdf_schema/* | ||
!Resources/3M/uploads/Mapping/rdf_schema/.gitkeep | ||
Resources/3M/uploads/Mapping/uploadsTemp/* | ||
!Resources/3M/uploads/Mapping/uploadsTemp/.gitkeep | ||
Resources/3M/uploads/Mapping/xml_schema/* | ||
!Resources/3M/uploads/Mapping/xml_schema/.gitkeep | ||
binds/* | ||
.env |
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
Binary file not shown.
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,3 @@ | ||
mkdir -p binds/exist | ||
mkdir -p binds/3M | ||
tar -xzf Resources/data.tar.gz -C binds/exist |
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,13 @@ | ||
|
||
version: "3" | ||
services: | ||
editor: | ||
build: . | ||
container_name: 3m-docker | ||
image: swissartresearx/3m-docker:latest | ||
ports: | ||
- 8080:8080 | ||
- 8081:8081 | ||
volumes: | ||
- ./binds/exist/data:/opt/exist/webapp/WEB-INF/data/ | ||
- ./binds/3M:/opt/3M |
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,6 @@ | ||
version: "3" | ||
services: | ||
editor: | ||
volumes: | ||
- db-data:/opt/exist/webapp/WEB-INF/data/ | ||
- editor-data:/opt/3M |
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,12 @@ | ||
version: "3" | ||
services: | ||
editor: | ||
build: . | ||
container_name: 3m-docker | ||
image: swissartresearx/3m-docker:latest | ||
ports: | ||
- ${PORT_EDITOR}:8080 | ||
- ${PORT_DB}:8081 | ||
volumes: | ||
db-data: | ||
editor-data: |
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