date.chapril.org-framadate/docker-compose.yml

48 lines
1.2 KiB
YAML
Raw Normal View History

version: '3'
services:
2019-04-15 17:49:09 +02:00
smtp:
container_name: framadate-smtp
image: jeanberu/mailcatcher
ports:
- "1080:1080"
db:
container_name: framadate-db
image: mysql:5.7
environment:
- MYSQL_ROOT_PASSWORD=rootpassword
- MYSQL_USER=framadate
- MYSQL_PASSWORD=framadatedbpassword
- MYSQL_DATABASE=framadate
restart: always
ports:
- "3307:3306"
framadate:
container_name: framadate
build:
dockerfile: ./docker/stretch/Dockerfile
context: .
depends_on:
- db
2019-04-15 17:49:09 +02:00
- smtp
ports:
- 80:80
environment:
- ENV=dev
- APP_NAME=Framadate
- ADMIN_MAIL=mon@email.fr
- MYSQL_USER=framadate
- MYSQL_PASSWORD=framadatedbpassword
- MYSQL_DB=framadate
- MYSQL_HOST=db
- MYSQL_PORT=3307
- ADMIN_USER=admin
- ADMIN_PASSWORD=adminpassword
- APACHE_RUN_USER=#1000
2019-04-15 17:49:09 +02:00
- FRAMADATE_DEVMODE=1
- SMTP_SERVER=smtp:1025
restart: always
volumes:
- '.:/var/www/framadate'