-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker container not running - stuck in init? #168
Comments
Looks like a similar issue as #168 with the error "Table 'session' already exists". @D4rkiii please note that the ´fpm-alpine´ variant you're using will not serve HTTP requests as your might expect and thus you cannot connect with your browser directly. You'd need a webserver like apache or nginx to use the PHP PFM service provided by this container as a CGI processor. See the docker-compose-fpm-alpine.yaml file or use the |
Hey @thomascube , thanks for the hint / help about the fpm variants! Im not familiar with this (living in the .net world) so i just tried to use it and i thought, because im running already an nginx proxy manager i could just remove the nginx part in the docker-compose and run it. So i should use the "1.5.2-apache"variant and point my proxy to this instance. I will try this image and give a feedback about the container state after the initial setup. |
Still not working with the following docker-compose: docker-compose content: services: Logs from the mail container:
|
Is there any way to install a fresh clean 1.5.X roundcube instance in docker? |
I also get this error:
with the following docker compose: version: '3.8'
services:
roundcubedb:
container_name: roundcubedb
image: mysql:latest
user: "1034:100" # 100 = group "users", 1034 = user "roundcube"
cap_add:
- SYS_NICE
restart: no
environment:
- MYSQL_DATABASE=roundcubemail
- MYSQL_ROOT_PASSWORD=redacted
ports:
- 3865:3306
volumes:
- /volume1/Data/user1/RoundCube/mysql/:/var/lib/mysql
roundcubemail:
container_name: roundcubemail
image: roundcube/roundcubemail:latest
restart: no
depends_on:
- roundcubedb
links:
- roundcubedb
volumes:
- /volume1/Data/user1/RoundCube/www:/var/www/html
- /volume1/Data/user1/RoundCube/mysql:/var/roundcube/db
ports:
- 9001:80
environment:
- ROUNDCUBEMAIL_DB_TYPE=mysql
- ROUNDCUBEMAIL_DB_HOST=roundcubedb
- ROUNDCUBEMAIL_DB_PASSWORD=redacted
- ROUNDCUBEMAIL_SKIN=elastic
- ROUNDCUBEMAIL_DEFAULT_HOST=syno.homedomain.com
#- ROUNDCUBEMAIL_DEFAULT_PORT=1143
- ROUNDCUBEMAIL_SMTP_SERVER=syno.homedomain.com
- ROUNDCUBEMAIL_SMTP_PORT=1025
- APP_UID=1034
- APP_GID=100
volumes:
db:
driver: local |
Hey guys,
im trying to get running roundcube in docker.
But im facing issues while the container tries to start.
Docker Host: Synology DS916+
Tried already with Tags: latest, latest-fpm-alpine, 1.5.2-fpm-alpine
Docker compose file: (Also i tried the "simple" in example to get it work)
`version: '2'
services:
roundcubedb:
image: mysql:5.7
container_name: roundcubedb
restart: unless-stopped
volumes:
- "/volume1/docker/roundcube/mysql:/var/lib/mysql"
environment:
- MYSQL_ROOT_PASSWORD=QWkw5W3iJwvHBkvKF
- MYSQL_DATABASE=roundcubemail
roundcubemail:
image: roundcube/roundcubemail:1.5.2-fpm-alpine
container_name: roundcubemail
restart: unless-stopped
depends_on:
- roundcubedb
links:
- roundcubedb
volumes:
- "/volume1/docker/roundcube/web:/var/www/html"
ports:
- 37080:80
environment:
- ROUNDCUBEMAIL_DB_TYPE=mysql
- ROUNDCUBEMAIL_DB_HOST=roundcubedb
- ROUNDCUBEMAIL_DB_PASSWORD=QWkw5W3iJwvHBkvKF
- ROUNDCUBEMAIL_SKIN=elastic
- ROUNDCUBEMAIL_DEFAULT_HOST=mail.domain.com
- ROUNDCUBEMAIL_SMTP_SERVER=mail.domain.com`
Error message from the roundcube container:
This errors messages appears all day long. Not sure what im missing here. Thought it should be easy to set this up :/
Maybe someone knows the issue and can help me out?
The text was updated successfully, but these errors were encountered: