Skip to content

Commit

Permalink
Merge pull request #23 from slub/add-host-port
Browse files Browse the repository at this point in the history
Separation of the host port assignment
  • Loading branch information
markusweigelt authored Mar 1, 2023
2 parents c5608f4 + 008bee1 commit cc6bc04
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ CONTROLLER_ENV_UID=1001
CONTROLLER_ENV_GID=1001
CONTROLLER_ENV_UMASK=0002
CONTROLLER_KEYS=./ocrd/controller/.ssh/authorized_keys
CONTROLLER_DATA=./kitodo/config_modules/metadata
CONTROLLER_DATA=./ocrd/controller/data
CONTROLLER_MODELS=./ocrd/controller/models
CONTROLLER_CONFIG=./ocrd/controller/config
CONTROLLER_WORKERS=1
7 changes: 7 additions & 0 deletions docker-compose.override.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: "3.9"
services:

ocrd-controller:

ports:
- ${CONTROLLER_PORT_SSH}:22
3 changes: 0 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ services:
- UMASK=${CONTROLLER_ENV_UMASK}
- WORKERS=${CONTROLLER_WORKERS}

ports:
- ${CONTROLLER_PORT_SSH}:22

volumes:
- type: bind
source: ${CONTROLLER_KEYS} # ocrd manager public key
Expand Down

0 comments on commit cc6bc04

Please sign in to comment.