services-garbaye/podman-framadate/old/docker-compose.yml

47 lines
1.4 KiB
YAML
Raw Normal View History

version: '3'
services:
db:
container_name: framadate-db
image: mysql:5.7
environment:
- MYSQL_ROOT_PASSWORD=${GARBAYE_FRAMADATE_MYSQL_ROOT_PASSWORD}
- MYSQL_USER=framadate
- MYSQL_PASSWORD=${GARBAYE_FRAMADATE_MYSQL_PASSWORD}
- MYSQL_DATABASE=framadate
restart: always
ports:
- "3307:3306"
volumes:
- framadate-db:/var/lib/mysql:Z
framadate-app:
container_name: framadate-app
build:
dockerfile: ./docker/stretch/Dockerfile
context: /home/podman-user/.local/share/containers/storage/volumes/framadate-docker_framadate-data/_data/
depends_on:
- db
ports:
- 127.0.0.1:8083:80
environment:
- ENV=prod
- APP_NAME=date.garbaye.fr
- ADMIN_MAIL=contact-framadate@garbaye.fr
- MYSQL_USER=framadate
- MYSQL_PASSWORD=${GARBAYE_FRAMADATE_MYSQL_PASSWORD}
- MYSQL_DB=framadate
- MYSQL_HOST=db
- MYSQL_PORT=3307
- ADMIN_USER=admin
- ADMIN_PASSWORD=${GARBAYE_FRAMADATE_ADMIN_PASSWORD}
- APACHE_RUN_USER=www-data
- FRAMADATE_DEVMODE=1
- SMTP_SERVER=backdrifts.garbaye.fr:25
restart: always
volumes:
- framadate-data:/var/www/framadate:Z
volumes:
framadate-db:
framadate-data: