Complete newbie here. Recently installed RancherOS in a VM on FreeNAS with the goal of installing Alfresco Content Server following their guide. Since docker-compose
isn’t installed by default, I’ve been trying to work around that. Following this post, I’ve tried using both ros service enable
and running docker-compose
in a container, both to no avail. Here’s my commands and the results of each:
sudo ros service enable https://raw.githubusercontent.com/Alfresco/acs-community-deployment/master/docker-compose/docker-compose.yml
ERRO[0000] Failed to unmarshall: Invalid integer: '2048m' at line 2, column 13
activemq:
image: alfresco/alfresco-activemq:5.15.6
mem_limit: 2048m
ports:
- 8161:8161
- 5672:5672
- 61616:61616
- 61613:61613
alfresco:
environment:
JAVA_OPTS: ' -Ddb.driver=org.postgresql.Driver -Ddb.username=alfresco -Ddb.password=alfresco
-Ddb.url=jdbc:postgresql://postgres:5432/alfresco -Dsolr.host=solr6 -Dsolr.port=8983
-Dsolr.secureComms=none -Dsolr.base.url=/solr -Dindex.subsystem.name=solr6 -Dshare.host=localhost
-Ddeployment.method=DOCKER_COMPOSE -Dcsrf.filter.enabled=false -Xms1g -Xmx1g '
image: alfresco/alfresco-content-repository-community:6.1.0-ea
mem_limit: 1500m
ports:
- 8082:8080
postgres:
command: postgres -c max_connections=300 -c log_min_messages=LOG
environment:
- POSTGRES_PASSWORD=alfresco
- POSTGRES_USER=alfresco
- POSTGRES_DB=alfresco
image: postgres:10.1
mem_limit: 1500m
ports:
- 5432:5432
share:
environment:
- REPO_HOST=alfresco
- REPO_PORT=8080
- CATALINA_OPTS= -Xms500m -Xmx500m
image: alfresco/alfresco-share:6.0.c
mem_limit: 1g
ports:
- 8080:8080
solr6:
environment:
- SOLR_ALFRESCO_HOST=alfresco
- SOLR_ALFRESCO_PORT=8080
- SOLR_SOLR_HOST=solr6
- SOLR_SOLR_PORT=8983
- SOLR_CREATE_ALFRESCO_DEFAULTS=alfresco,archive
- SOLR_JAVA_MEM=-Xms2g -Xmx2g
image: alfresco/alfresco-search-services:1.2.0
mem_limit: 2500m
ports:
- 8083:8983
ERRO[0000] Could not parse config for project stageservices : Invalid integer: '2048m' at line 2, column 13
FATA[0000] Failed to load https://raw.githubusercontent.com/Alfresco/acs-community-deployment/master/docker-compose/docker-compose.yml : Invalid integer: '2048m' at line 2, column 13
wget https://raw.githubusercontent.com/Alfresco/acs-community-deployment/master/docker-compose/docker-compose.yml; docker run docker/compose:1.14.0 -f docker-compose.yml up
.IOError: [Errno 2] No such file or directory: u'./docker-compose.yml'
I’ve tried using multiple versions of the yml from the repository, but keep getting errors, so it seems to be something I’m doing. What am I doing wrong here?