Fix #238 - Alfresco template (#321)

This commit is contained in:
disaster37 2016-10-28 02:55:11 +02:00 committed by Bill Maxwell
parent ed8a87ad7b
commit cfba3733ab

View File

@ -11,6 +11,8 @@ alfresco:
stdin_open: true stdin_open: true
ports: ports:
- 8080:8080/tcp - 8080:8080/tcp
volumes_from:
- alfresco-data
alfresco-data: alfresco-data:
labels: labels:
io.rancher.container.start_once: 'true' io.rancher.container.start_once: 'true'
@ -18,6 +20,7 @@ alfresco-data:
volumes: volumes:
- /opt/alfresco/alf_data - /opt/alfresco/alf_data
net: none net: none
command: /bin/true
postgres: postgres:
environment: environment:
PGDATA: /var/lib/postgresql/data/pgdata PGDATA: /var/lib/postgresql/data/pgdata
@ -29,6 +32,8 @@ postgres:
tty: true tty: true
image: postgres:9.4 image: postgres:9.4
stdin_open: true stdin_open: true
volumes_from:
- postgres-data
postgres-data: postgres-data:
labels: labels:
io.rancher.container.start_once: 'true' io.rancher.container.start_once: 'true'
@ -36,3 +41,4 @@ postgres-data:
volumes: volumes:
- /var/lib/postgresql/data/pgdata - /var/lib/postgresql/data/pgdata
net: none net: none
command: /bin/true