Copied from rancher community catalog as starting point
This commit is contained in:
22
templates/OpenProject/0/docker-compose.yml
Normal file
22
templates/OpenProject/0/docker-compose.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
version: '2'
|
||||
services:
|
||||
openproject:
|
||||
image: openproject/community:7
|
||||
volumes_from:
|
||||
- openproject-data
|
||||
ports:
|
||||
- ${OPENPROJECT_PORT}:80
|
||||
labels:
|
||||
io.rancher.sidekicks: openproject-data
|
||||
io.rancher.container.hostname_override: container_name
|
||||
openproject-data:
|
||||
image: openproject/community:7
|
||||
entrypoint:
|
||||
- /bin/true
|
||||
volumes:
|
||||
- /var/lib/postgresql/9.4/main
|
||||
- /var/log/supervisor
|
||||
- /var/db/openproject
|
||||
labels:
|
||||
io.rancher.container.start_once: 'true'
|
||||
io.rancher.container.hostname_override: container_name
|
||||
20
templates/OpenProject/0/rancher-compose.yml
Normal file
20
templates/OpenProject/0/rancher-compose.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
version: '2'
|
||||
catalog:
|
||||
name: openproject
|
||||
version: 0.0.1
|
||||
description: Project planning and scheduling
|
||||
questions:
|
||||
|
||||
- variable: OPENPROJECT_PORT
|
||||
label: Port
|
||||
default: 80
|
||||
required: true
|
||||
type: int
|
||||
|
||||
services:
|
||||
openproject:
|
||||
scale: 1
|
||||
start_on_create: true
|
||||
openproject-data:
|
||||
scale: 1
|
||||
start_on_create: true
|
||||
Reference in New Issue
Block a user