Update DockerCompose, README, ...

master
Siroco 7 months ago
parent 122ff0d809
commit 4f176d4a23
Signed by: siroco
GPG Key ID: 1324098302A514B0
  1. 12
      .env.sample
  2. 20
      README.md
  3. 2
      conf/composer.json
  4. 1
      conf/config.php.inc.sample
  5. 6
      docker-compose.yml

@ -1,5 +1,5 @@
USER_GROUP="1000:1000"
WWW_PORT="3333"
USER_GROUP=1000:1000
WWW_PORT=3333
# DATABASE
RC_DB_TYPE=mysql
@ -10,7 +10,7 @@ RC_DB_PASSWORD=secret
# IMAP
RC_DEFAULT_HOST=ssl://lesnaus.sindominio.net
RC_DEFAULT_PORT='993'
RC_DEFAULT_PORT=993
## FIX ADD CERTS
# SMTP
@ -18,7 +18,7 @@ RC_SMTP_SERVER=tls://lesnaus.sindominio.net
RC_SMTP_PORT=587
# OPTIONS
RC_SUPPORT_URL='https://sindominio.net/portada/ayuda'
RC_PRODUCT_NAME='Sindominio Webmail'
RC_MAIL_DOMAIN='sindominio.net'
RC_SUPPORT_URL=https://sindominio.net/portada/ayuda
RC_PRODUCT_NAME=Sindominio
RC_MAIL_DOMAIN=sindominio.net
RC_SKIN=elastic

@ -9,31 +9,47 @@ Sindominio
## Configure
Copy .env.sample to .env
```
cp .env.sample .env
```
Edit variables
```
vim .env
```
Create volume directory
```
mkdir data
chown -R 1000:1000 data
```
## Build
Build a local image
Build a local image,
uncomment __build__ line and:
```
docker-compose build
```
## Run
```
docker-compose up -d
```
If first time, you need to initialize MySQL database
```
docker-compose exec roundcubephp /bin/sh /init-database.sh
```
## Read PHP Logs
```
docker-compose exec roundcubephp tail -f /tmp/php-fpm.log
```

@ -22,7 +22,7 @@
"endroid/qr-code": "~1.6.5",
"guzzlehttp/guzzle": "^6.5.5",
"kolab/net_ldap3": "~1.1.1",
"johndoh/contextmenu": ">=3.0.0"
"johndoh/contextmenu": ">=3.0.0"
},
"require-dev": {
"phpunit/phpunit": "^4.8.36 || ^5.7.21 || ^6 || ^7"

@ -73,6 +73,5 @@ $config['plugins'] = array(
'managesieve',
'contextmenu',
'newmail_notifier',
'mobile',
);

@ -6,13 +6,13 @@ volumes:
services:
roundcubephp:
user: ${USER_GROUP}
image: roundcube
build: .
image: registry.sindominio.net/roundcube
# build: .
restart: always
volumes:
- roundcubemail:/roundcubemail
- ./conf/config.php.inc.sample:/roundcubemail/config/config.inc.php
#- ./data/logs:/roundcubemail/logs
- ./data/logs:/roundcubemail/logs
#- ./data/temp:/roundcubemail/temp
#- ./data/db:/roundcubemail/db
environment:

Loading…
Cancel
Save