docker-alfresco
docker-alfresco copied to clipboard
Connection failed at second start
I'm using the image with mysql.
The first time I start the container, it works. Then I stopped the containers and restart, I can't connect to alfresco using the UI (login failed). If I delete the volume and restart, it works.
I saw this problem on a mac and in a vagrant box running ubuntu. But it seems to work on linux.
Any idea ? Thanks
Below my docker-compose :
alfresco-mysql: image: mysql:5.7.20 volumes: - ~/volumes/alfresco/mysql/:/var/lib/mysql/ environment: - MYSQL_ROOT_PASSWORD=root - MYSQL_USER=alfresco - MYSQL_PASSWORD=alfresco - MYSQL_DATABASE=alfresco ports: - 3306:3306 command: mysqld --lower_case_table_names=1 --skip-ssl --character_set_server=utf8 --explicit_defaults_for_timestamp
alfresco:
image: "gui81/alfresco:201707"
volumes:
- ~/volumes/alfresco/alf_data:/alfresco/alf_data
#- ~/volumes/alfresco/content:/content
environment:
- DB_KIND=mysql
- DB_HOST=alfresco-mysql
- DB_USERNAME=alfresco
- DB_PASSWORD=alfresco
- DB_NAME=alfresco
#- CONTENT_STORE=/content
ports:
- "7080:8080"
- "8443:8443"
Maybe a later sugestion, but you can check the log of the tomcat running inside the container to get better ideas on what is going on: docker exec -it <alfresco_container> /bin/bash tail -f /alfresco/tomcat/logs/catalina.out