You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.0 KiB

5 years ago
version: '3'
services:
mysql:
4 years ago
image: mariadb:10.5.9
command: --max_allowed_packet=256M
5 years ago
volumes:
- "./data/db:/var/lib/mysql:delegated"
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
MYSQL_DATABASE: ${MYSQL_DATABASE}
MYSQL_USER: ${MYSQL_USER}
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
restart: always
5 years ago
litespeed:
5 years ago
image: litespeedtech/openlitespeed:${OLS_VERSION}-${PHP_VERSION}
5 years ago
env_file:
- .env
volumes:
- ./lsws/conf:/usr/local/lsws/conf
- ./lsws/admin-conf:/usr/local/lsws/admin/conf
- ./bin/container:/usr/local/bin
- ./sites:/var/www/vhosts/
- ./acme:/root/.acme.sh/
- ./logs:/usr/local/lsws/logs/
5 years ago
ports:
- 80:80
- 443:443
5 years ago
- 443:443/udp
5 years ago
- 7080:7080
restart: always
environment:
TZ: ${TimeZone}
phpmyadmin:
image: bitnami/phpmyadmin:5.0.2-debian-10-r72
5 years ago
ports:
- 8080:80
- 8443:443
5 years ago
environment:
DATABASE_HOST: mysql
restart: always