summaryrefslogtreecommitdiff
path: root/roundcube/compose.yaml
blob: 61cc11406d80447eb2169f59059b933ca214dbc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
---
services:
  roundcubedb:
    image: mysql:5.7
    container_name: roundcubedb
    restart: unless-stopped
    volumes:
      - ${DB_DATA_PATH}:/var/lib/mysql
    ports:
      - 10.0.0.1:${MYSQL_PORT}:3306
    environment:
      - MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
      - MYSQL_DATABASE=${MYSQL_DATABASE}

  roundcubemail:
    image: roundcube/roundcubemail:1.6.9-apache
    container_name: roundcubemail
    restart: unless-stopped
    depends_on:
      - roundcubedb
    volumes:
      - ${WWW_DATA_PATH}:/var/www/html
    ports:
      - 10.0.0.1:${ROUNDCUBE_PORT}:80
    env_file:
      - .env

networks: {}
...