2018-04-23 15:29:07 +00:00
|
|
|
version: "3"
|
|
|
|
|
|
|
|
services:
|
|
|
|
web:
|
|
|
|
image: ensl/ensl.org:latest
|
2018-04-25 16:41:22 +00:00
|
|
|
volumes:
|
2019-10-09 19:04:09 +00:00
|
|
|
- "../public:/var/www/public"
|
2019-10-14 20:26:43 +00:00
|
|
|
- "../logs:/var/www/log"
|
2018-04-23 15:29:07 +00:00
|
|
|
ports:
|
|
|
|
- "4000:4000"
|
|
|
|
depends_on:
|
|
|
|
- db
|
|
|
|
- memcached
|
2019-10-14 20:26:43 +00:00
|
|
|
- smtp
|
2018-04-23 15:29:07 +00:00
|
|
|
# - redis
|
|
|
|
db:
|
|
|
|
image: mariadb:latest
|
2019-10-09 19:04:09 +00:00
|
|
|
command: mysqld
|
2018-04-23 15:29:07 +00:00
|
|
|
volumes:
|
2018-04-25 16:41:22 +00:00
|
|
|
- "./db_data:/var/lib/mysql"
|
|
|
|
- "./ext/mysql.conf.d:/etc/mysql/conf.d"
|
2018-04-23 15:29:07 +00:00
|
|
|
environment:
|
|
|
|
- MYSQL_DATABASE
|
|
|
|
- MYSQL_USER
|
|
|
|
- MYSQL_USERNAME
|
|
|
|
- MYSQL_PASSWORD
|
|
|
|
- MYSQL_ROOT_PASSWORD
|
|
|
|
# - MYSQL_ROOT_HOST
|
|
|
|
memcached:
|
|
|
|
image: memcached:latest
|
2019-10-14 20:26:43 +00:00
|
|
|
smtp:
|
|
|
|
image: mwader/postfix-relay:latest
|
|
|
|
restart: always
|
|
|
|
volumes:
|
|
|
|
- "../dkim:/etc/opendkim/keys"
|
|
|
|
environment:
|
|
|
|
- POSTFIX_myhostname=ensl.org
|
|
|
|
- OPENDKIM_DOMAINS=ensl.org
|
2018-04-23 15:29:07 +00:00
|
|
|
#redis:
|
|
|
|
# image: redis
|