tikiwiki/docker-compose.yml

48 lines
1.2 KiB
YAML
Raw Normal View History

2023-04-10 21:59:09 +02:00
version: '3'
2023-07-01 16:08:25 +02:00
volumes:
db:
elasticsearch-data:
2023-04-10 21:59:09 +02:00
services:
2023-07-01 16:08:25 +02:00
elastic:
image: docker.elastic.co/elasticsearch/elasticsearch:8.7.0
volumes:
- elasticsearch-data:/usr/share/elasticsearch/data
2023-04-11 21:48:35 +02:00
ports:
2023-07-01 16:08:25 +02:00
- 9200:9200
restart: always
2023-04-11 21:48:35 +02:00
environment:
2023-07-01 16:08:25 +02:00
- xpack.security.enabled=false
- discovery.type=single-node
db:
image: mysql
volumes:
- db:/var/lib/mysql
restart: always
environment:
MYSQL_DATABASE: dockertiki
MYSQL_USER: tiki
MYSQL_PASSWORD: wiki
MYSQL_ROOT_PASSWORD: wiki
#mysql_host: 192.168.122.231
#mysql_host: 172.16.0.240
2023-04-10 21:59:09 +02:00
tikiwiki:
2023-07-01 16:08:25 +02:00
build: .
image: registry.audio-lab.org/tikiwiki:latest
2023-04-10 21:59:09 +02:00
ports:
2023-07-01 16:08:25 +02:00
- 0.0.0.0:443:443
- 0.0.0.0:80:80
2023-04-10 21:59:09 +02:00
volumes:
2023-07-01 16:08:25 +02:00
- ./conf/local.php:/var/www/html/tiki/db/local.php:ro
2023-04-11 21:48:35 +02:00
- ./uploads:/var/www/html/uploads
- /tmp:/tmp
2023-07-01 16:08:25 +02:00
- ./conf/php.ini:/etc/php/7.4/apache2/php.ini:ro
2023-04-10 21:59:09 +02:00
- ./conf/envvars:/etc/apache2/envvars:ro
- ./conf/default-ssl.conf:/etc/apache2/sites-available/000-default.conf:ro
restart: always
environment:
2023-04-11 21:48:35 +02:00
MYSQL_DATABASE: dockertiki
2023-04-10 21:59:09 +02:00
MYSQL_USER: tiki
2023-04-11 21:48:35 +02:00
MYSQL_PASSWORD: wiki
2023-07-01 16:08:25 +02:00
MYSQL_HOST: db