Skip to content

Instantly share code, notes, and snippets.

@jeremie-lesage
Last active May 5, 2017 00:35
Show Gist options
  • Save jeremie-lesage/c6cd87c8ec7a8d2b4b1cd9674d6c213d to your computer and use it in GitHub Desktop.
Save jeremie-lesage/c6cd87c8ec7a8d2b4b1cd9674d6c213d to your computer and use it in GitHub Desktop.
version: '2'
services:
alfresco:
image: jeci/alfresco-platform:5.2.f
environment:
CATALINA_OPTS: "-Xmx1G -XX:+UseConcMarkSweepGC"
depends_on:
- postgresql
networks:
- internal
volumes:
- "alf_logs:/usr/local/tomcat/logs/"
- "alf_data:/opt/alf_data"
tmpfs:
- /tmp
- /usr/local/tomcat/temp/
- /usr/local/tomcat/work/
share:
image: jeci/alfresco-share:5.2.e
environment:
CATALINA_OPTS: "-Xmx1G -XX:+UseConcMarkSweepGC"
depends_on:
- alfresco
networks:
- internal
ports:
- "8080:8080"
volumes:
- "share_logs:/usr/local/tomcat/logs/"
tmpfs:
- /tmp
- /usr/local/tomcat/temp/
- /usr/local/tomcat/work/
solr:
image: jeci/alfresco-solr:5.2.f
cpu_shares: 256
environment:
CATALINA_OPTS: "-Xmx1G -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:G1HeapRegionSize=8m -XX:MaxGCPauseMillis=200"
depends_on:
- alfresco
networks:
- internal
volumes:
- "solr_logs:/usr/local/tomcat/logs/"
- "solr_data:/opt/solr_data"
tmpfs:
- /tmp
- /usr/local/tomcat/temp/
- /usr/local/tomcat/work/
postgresql:
image: postgres:9.4
environment:
- POSTGRES_DB=alfresco
- POSTGRES_PASSWORD=alfresco
- POSTGRES_USER=alfresco
networks:
- internal
volumes:
- "pgsql_data:/var/lib/postgresql/data"
volumes:
alf_logs:
alf_data:
share_logs:
solr_logs:
solr_data:
pgsql_data:
networks:
internal:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment