version: '3' volumes: db: elasticsearch-data: services: elastic: image: docker.elastic.co/elasticsearch/elasticsearch:8.7.0 volumes: - elasticsearch-data:/usr/share/elasticsearch/data ports: - 9200:9200 restart: always environment: - 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 tikiwiki: build: . image: registry.audio-lab.org/tikiwiki:latest ports: - 0.0.0.0:443:443 - 0.0.0.0:80:80 volumes: - ./conf/local.php:/var/www/html/tiki/db/local.php:ro - ./uploads:/var/www/html/uploads - /tmp:/tmp - ./conf/php.ini:/etc/php/7.4/apache2/php.ini:ro - ./conf/envvars:/etc/apache2/envvars:ro - ./conf/default-ssl.conf:/etc/apache2/sites-available/000-default.conf:ro restart: always environment: MYSQL_DATABASE: dockertiki MYSQL_USER: tiki MYSQL_PASSWORD: wiki MYSQL_HOST: db