Skip to content

Instantly share code, notes, and snippets.

@andrevandal
Last active July 28, 2020 11:46
Show Gist options
  • Save andrevandal/16731ec34fd984680aa017cc7c195b2c to your computer and use it in GitHub Desktop.
Save andrevandal/16731ec34fd984680aa017cc7c195b2c to your computer and use it in GitHub Desktop.
services:
mysql:
container_name: mysql
image: yobasystems/alpine-mariadb
env_file:
- .env
environment:
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
volumes:
- "./data/db:/var/lib/mysql:delegated"
memcached:
container_name: memcached
image: memcached:alpine
restart: always
litespeed:
container_name: litespeed
image: litespeedtech/openlitespeed:${OLS_VERSION}-${PHP_VERSION}
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/
ports:
- 80:80
- 443:443
- 443:443/udp
- 7080:7080
restart: always
environment:
TZ: ${TimeZone}
depends_on:
- mysql
- memcached
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment