basic working demo
This commit is contained in:
parent
cf874c41da
commit
0a039cbb29
5
.dockerignore
Normal file
5
.dockerignore
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
docker-compose.yml
|
||||
Dockerfile
|
||||
.git
|
||||
LICENSE
|
||||
README.md
|
||||
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
**/.env*
|
||||
**/*.secret
|
||||
**/*.pw
|
||||
54
docker-compose.yaml
Normal file
54
docker-compose.yaml
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
version: "3.9"
|
||||
services:
|
||||
koha:
|
||||
# image: teogramm/koha:24.11
|
||||
build: .
|
||||
ports:
|
||||
- 8080:8080
|
||||
- 8081:8081
|
||||
networks:
|
||||
- koha
|
||||
cap_add:
|
||||
- DAC_READ_SEARCH
|
||||
- SYS_NICE
|
||||
environment:
|
||||
MYSQL_SERVER: db
|
||||
MYSQL_USER: koha
|
||||
MYSQL_PASSWORD: example
|
||||
DB_NAME: koha
|
||||
MEMCACHED_SERVERS: memcached:11211
|
||||
MB_HOST: rabbitmq
|
||||
depends_on:
|
||||
- db
|
||||
- rabbitmq
|
||||
- memcached
|
||||
|
||||
rabbitmq:
|
||||
image: docker.io/rabbitmq:3
|
||||
volumes:
|
||||
- ./rabbitmq_plugins:/etc/rabbitmq/enabled_plugins
|
||||
networks:
|
||||
- koha
|
||||
|
||||
db:
|
||||
image: docker.io/mariadb:11
|
||||
volumes:
|
||||
- mariadb-koha:/var/lib/mysql
|
||||
environment:
|
||||
MARIADB_RANDOM_ROOT_PASSWORD: true%
|
||||
MARIADB_DATABASE: koha
|
||||
MARIADB_USER: koha
|
||||
MARIADB_PASSWORD: example
|
||||
networks:
|
||||
- koha
|
||||
|
||||
memcached:
|
||||
image: docker.io/memcached
|
||||
networks:
|
||||
- koha
|
||||
|
||||
volumes:
|
||||
mariadb-koha:
|
||||
|
||||
networks:
|
||||
koha:
|
||||
1
rabbitmq_plugins
Normal file
1
rabbitmq_plugins
Normal file
|
|
@ -0,0 +1 @@
|
|||
[rabbitmq_stomp].
|
||||
Loading…
Reference in a new issue