| 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 |
| 13 |
MYSQL_PASSWORD: YjM2ZmRmODNmYmE |
MYSQL_PASSWORD: YjM2ZmRmODNmYmE |
| 14 |
networks: |
networks: |
| 15 |
- app-network |
- app-network |
| 16 |
|
mem_limit: 512M |
| 17 |
|
command: |
| 18 |
|
- --skip-performance-schema |
| 19 |
|
- --innodb-buffer-pool-size=64M |
| 20 |
|
- --max-connections=15 |
| 21 |
|
|
| 22 |
apache: |
apache: |
| 23 |
image: leafok/lbbs-apache:testing |
image: leafok/lbbs-apache:testing |
| 24 |
|
platform: ${RUN_PLATFORM} |
| 25 |
restart: unless-stopped |
restart: unless-stopped |
| 26 |
build: |
build: |
| 27 |
context: . |
context: . |
| 38 |
|
|
| 39 |
php: |
php: |
| 40 |
image: leafok/lbbs-php:testing |
image: leafok/lbbs-php:testing |
| 41 |
|
platform: ${RUN_PLATFORM} |
| 42 |
restart: unless-stopped |
restart: unless-stopped |
| 43 |
build: |
build: |
| 44 |
context: . |
context: . |
| 50 |
depends_on: |
depends_on: |
| 51 |
mysql: |
mysql: |
| 52 |
condition: service_started |
condition: service_started |
| 53 |
restart: true |
restart: true |
| 54 |
networks: |
networks: |
| 55 |
- app-network |
- app-network |
| 56 |
expose: |
expose: |
| 59 |
|
|
| 60 |
bbsd-prepare: |
bbsd-prepare: |
| 61 |
image: leafok/lbbs-bbsd:testing |
image: leafok/lbbs-bbsd:testing |
| 62 |
|
platform: ${RUN_PLATFORM} |
| 63 |
restart: on-failure |
restart: on-failure |
| 64 |
build: |
build: |
| 65 |
context: . |
context: . |
| 73 |
depends_on: |
depends_on: |
| 74 |
mysql: |
mysql: |
| 75 |
condition: service_started |
condition: service_started |
| 76 |
restart: true |
restart: true |
| 77 |
networks: |
networks: |
| 78 |
- app-network |
- app-network |
| 79 |
command: |
command: [ "/bin/sh", "/usr/local/lbbs/bin/bbsd_prepare.sh" ] |
|
[ "/bin/sh", "/usr/local/lbbs/bin/bbsd_prepare.sh" ] |
|
| 80 |
|
|
| 81 |
bbsd: |
bbsd: |
| 82 |
image: leafok/lbbs-bbsd:testing |
image: leafok/lbbs-bbsd:testing |
| 83 |
|
platform: ${RUN_PLATFORM} |
| 84 |
restart: unless-stopped |
restart: unless-stopped |
| 85 |
shm_size: '4gb' |
shm_size: '4gb' |
| 86 |
ports: |
ports: |
| 97 |
condition: service_completed_successfully |
condition: service_completed_successfully |
| 98 |
networks: |
networks: |
| 99 |
- app-network |
- app-network |
| 100 |
command: |
command: [ "/usr/local/lbbs/bin/bbsd", "-f" ] |
|
[ "/usr/local/lbbs/bin/bbsd", "-f" ] |
|
| 101 |
|
|
| 102 |
networks: |
networks: |
| 103 |
app-network: |
app-network: |