| 1 |
services: |
services: |
| 2 |
mysql: |
mysql: |
| 3 |
image: mysql:8.4 |
image: mysql:8.4 |
| 4 |
|
platform: ${RUN_PLATFORM} |
| 5 |
restart: unless-stopped |
restart: unless-stopped |
| 6 |
volumes: |
volumes: |
| 7 |
- mysql-data:/var/lib/mysql |
- mysql-data:/var/lib/mysql |
| 19 |
- --innodb-buffer-pool-size=64M |
- --innodb-buffer-pool-size=64M |
| 20 |
- --max-connections=15 |
- --max-connections=15 |
| 21 |
|
|
| 22 |
|
solr: |
| 23 |
|
image: leafok/lbbs-solr:combo |
| 24 |
|
platform: ${RUN_PLATFORM} |
| 25 |
|
restart: unless-stopped |
| 26 |
|
build: |
| 27 |
|
context: . |
| 28 |
|
dockerfile: Dockerfile/dockerfile.solr |
| 29 |
|
volumes: |
| 30 |
|
- solr-data:/var/solr |
| 31 |
|
environment: |
| 32 |
|
SOLR_JAVA_MEM: "-Xms256m -Xmx512m" |
| 33 |
|
command: |
| 34 |
|
- solr-precreate |
| 35 |
|
- lbbs |
| 36 |
|
- /opt/solr/server/solr/configsets/lbbs |
| 37 |
|
networks: |
| 38 |
|
- app-network |
| 39 |
|
mem_limit: 512M |
| 40 |
|
|
| 41 |
apache: |
apache: |
| 42 |
image: leafok/lbbs-apache:testing |
image: leafok/lbbs-apache:combo |
| 43 |
|
platform: ${RUN_PLATFORM} |
| 44 |
restart: unless-stopped |
restart: unless-stopped |
| 45 |
build: |
build: |
| 46 |
context: . |
context: . |
| 47 |
dockerfile: Dockerfile/dockerfile.apache.testing |
dockerfile: Dockerfile/dockerfile.apache |
| 48 |
ports: |
ports: |
| 49 |
- "8080:8081" |
- "8080:8081" |
| 50 |
volumes: |
volumes: |
| 52 |
- apache-logs:/usr/local/apache2/logs |
- apache-logs:/usr/local/apache2/logs |
| 53 |
depends_on: |
depends_on: |
| 54 |
- php |
- php |
| 55 |
|
- solr |
| 56 |
networks: |
networks: |
| 57 |
- app-network |
- app-network |
| 58 |
|
|
| 59 |
php: |
php: |
| 60 |
image: leafok/lbbs-php:testing |
image: leafok/lbbs-php:combo |
| 61 |
|
platform: ${RUN_PLATFORM} |
| 62 |
restart: unless-stopped |
restart: unless-stopped |
| 63 |
build: |
build: |
| 64 |
context: . |
context: . |
| 65 |
dockerfile: Dockerfile/dockerfile.php.testing |
dockerfile: Dockerfile/dockerfile.php |
| 66 |
volumes: |
volumes: |
| 67 |
- www-data:/var/www/html |
- www-data:/var/www/html |
| 68 |
- php-sessions:/var/lib/php/sessions |
- php-sessions:/var/lib/php/sessions |
| 78 |
command: [ "php-fpm" ] |
command: [ "php-fpm" ] |
| 79 |
|
|
| 80 |
bbsd-prepare: |
bbsd-prepare: |
| 81 |
image: leafok/lbbs-bbsd:testing |
image: leafok/lbbs-bbsd:combo |
| 82 |
|
platform: ${RUN_PLATFORM} |
| 83 |
restart: on-failure |
restart: on-failure |
| 84 |
build: |
build: |
| 85 |
context: . |
context: . |
| 86 |
dockerfile: Dockerfile/dockerfile.bbsd.testing |
dockerfile: Dockerfile/dockerfile.bbsd |
| 87 |
volumes: |
volumes: |
| 88 |
- bbsd-conf:/usr/local/lbbs/conf |
- bbsd-conf:/usr/local/lbbs/conf |
| 89 |
- bbsd-data:/usr/local/lbbs/data |
- bbsd-data:/usr/local/lbbs/data |
| 99 |
command: [ "/bin/sh", "/usr/local/lbbs/bin/bbsd_prepare.sh" ] |
command: [ "/bin/sh", "/usr/local/lbbs/bin/bbsd_prepare.sh" ] |
| 100 |
|
|
| 101 |
bbsd: |
bbsd: |
| 102 |
image: leafok/lbbs-bbsd:testing |
image: leafok/lbbs-bbsd:combo |
| 103 |
|
platform: ${RUN_PLATFORM} |
| 104 |
restart: unless-stopped |
restart: unless-stopped |
| 105 |
shm_size: '4gb' |
shm_size: '4gb' |
| 106 |
ports: |
ports: |
| 127 |
mysql-data: |
mysql-data: |
| 128 |
# Volume for persistent storage of mysql data |
# Volume for persistent storage of mysql data |
| 129 |
driver: local |
driver: local |
| 130 |
|
solr-data: |
| 131 |
|
# Volume for persistent storage of solr data |
| 132 |
|
driver: local |
| 133 |
www-data: |
www-data: |
| 134 |
# Volume for persistent storage of web data |
# Volume for persistent storage of web data |
| 135 |
driver: local |
driver: local |