mirror of
https://github.com/jcwimer/startup-infrastructure
synced 2026-03-24 14:24:43 +00:00
22 lines
485 B
Django/Jinja
22 lines
485 B
Django/Jinja
version: '2'
|
|
services:
|
|
dokuwiki:
|
|
image: 'bitnami/dokuwiki:latest'
|
|
labels:
|
|
kompose.service.type: nodeport
|
|
ports:
|
|
- '80:80'
|
|
- '443:443'
|
|
volumes:
|
|
- 'dokuwiki_data:/bitnami'
|
|
volumes:
|
|
dokuwiki_data:
|
|
{% if storage_type == 'nfs' %}
|
|
driver: local
|
|
driver_opts:
|
|
type: nfs
|
|
o: "addr={{ nfs_address }},soft,nolock,rw"
|
|
device: ":{{ nfs_root_path }}/dokuwiki"
|
|
{% elif storage_type == 'local' %}
|
|
driver: local
|
|
{% endif %} |