Commit 4ca8424b authored by Petter Goksøyr Åsen's avatar Petter Goksøyr Åsen Committed by Magnus Westergaard
Browse files

Add sibyl container

parent d5b7c054
...@@ -112,7 +112,7 @@ services: ...@@ -112,7 +112,7 @@ services:
SIBYL_PASSWORD: "${SIBYL_PASSWORD:-admin}" SIBYL_PASSWORD: "${SIBYL_PASSWORD:-admin}"
volumes: volumes:
- "koha_mysql_data:/var/lib/mysql" - "koha_mysql_data:/var/lib/mysql"
#- ./setup_sibyl.sql:/docker-entrypoint-initdb.d/setup_sibyl.sql - ./setup_sibyl.sql:/docker-entrypoint-initdb.d/setup_sibyl.sql
logging: logging:
driver: "json-file" driver: "json-file"
options: options:
...@@ -120,11 +120,18 @@ services: ...@@ -120,11 +120,18 @@ services:
max-file: "2" max-file: "2"
sibyl: sibyl:
container_name: sibyl
depends_on: depends_on:
- koha_mysql - koha_mysql
image: alpine image: digibib/sibyl:test
command: networks:
- "sh -c 'sleep 100" - backend
environment:
SIBYL_USER: "${SIBYL_USER:-admin}"
SIBYL_PASSWORD: "${SIBYL_PASSWORD:-secret}"
KOHA_ADMINPASS: "${KOHA_ADMINPASS:-secret}"
KOHA_ADMINUSER: "${KOHA_ADMINUSER:-admin}"
KOHA_INSTANCE: "${KOHA_INSTANCE:-name}"
catalinker: catalinker:
container_name: catalinker container_name: catalinker
......
...@@ -29,8 +29,6 @@ services: ...@@ -29,8 +29,6 @@ services:
ports: ports:
- "8005:8005" - "8005:8005"
- "5070:5070" - "5070:5070"
extra_hosts:
- "sibyl:10.172.3.100"
environment: environment:
KOHA_MYSQL_USER: "${KOHA_ADMINUSER:-admin}" KOHA_MYSQL_USER: "${KOHA_ADMINUSER:-admin}"
KOHA_MYSQL_PASS: "${KOHA_ADMINPASS:-secret}" KOHA_MYSQL_PASS: "${KOHA_ADMINPASS:-secret}"
...@@ -44,8 +42,6 @@ services: ...@@ -44,8 +42,6 @@ services:
volumes: volumes:
- "${MOUNTPATH:-..}/redef/patron-client/src:/usr/src/app/src" - "${MOUNTPATH:-..}/redef/patron-client/src:/usr/src/app/src"
- "${MOUNTPATH:-..}/redef/patron-client/test:/usr/src/app/test" - "${MOUNTPATH:-..}/redef/patron-client/test:/usr/src/app/test"
extra_hosts:
- "sibyl:10.172.3.100"
ports: ports:
- "8000:8000" - "8000:8000"
- "35729:35729" - "35729:35729"
...@@ -136,6 +132,6 @@ services: ...@@ -136,6 +132,6 @@ services:
- "-c" - "-c"
- "mkfifo pipe; while true ; do { read line<pipe;echo -e 'HTTP/1.1 200 OK\\r\\n' ; } | nc -l -p 9999 > pipe; done" - "mkfifo pipe; while true ; do { read line<pipe;echo -e 'HTTP/1.1 200 OK\\r\\n' ; } | nc -l -p 9999 > pipe; done"
# koha_indexer: sibyl:
# ports: ports:
# - "8009:8009" - "1666:1666"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment