2018-05-14 23:29:20 +02:00
|
|
|
version: '3'
|
|
|
|
services:
|
2019-04-15 17:49:09 +02:00
|
|
|
smtp:
|
|
|
|
container_name: framadate-smtp
|
|
|
|
image: jeanberu/mailcatcher
|
|
|
|
ports:
|
|
|
|
- "1080:1080"
|
|
|
|
|
2018-05-14 23:29:20 +02:00
|
|
|
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
|
2018-05-14 23:29:20 +02:00
|
|
|
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
|
2018-05-14 23:29:20 +02:00
|
|
|
restart: always
|
|
|
|
volumes:
|
|
|
|
- '.:/var/www/framadate'
|