Initialise repository structure and placeholder files. Generic functionality works i guess, need to come up with a better solution for compose templates
This commit is contained in:
commit
53695f4fff
411 files changed
+7817
No files matched your search
@@ -0,0 +1,29 @@
|
||||
services:
|
||||
ocis:
|
||||
image: {{ ocis_image }}
|
||||
restart: unless-stopped
|
||||
command: server
|
||||
env_file: .env
|
||||
{% if ocis_routing_mode == "host" %}
|
||||
ports:
|
||||
- "{{ ocis_http_port }}:9200"
|
||||
{% endif %}
|
||||
{% if ocis_routing_mode == "traefik" %}
|
||||
# internal HTTP service port: 9200; not published on the Docker host
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.routers.ocis.rule=Host(`{{ ocis_domain }}`)
|
||||
- traefik.http.routers.ocis.entrypoints={{ ocis_traefik_entrypoint }}
|
||||
- traefik.http.routers.ocis.tls={{ ocis_traefik_tls | bool | ternary('true', 'false') }}
|
||||
- traefik.http.services.ocis.loadbalancer.server.port=9200
|
||||
networks:
|
||||
- {{ ocis_traefik_network }}
|
||||
{% endif %}
|
||||
volumes:
|
||||
- {{ ocis_config_dir }}:/etc/ocis
|
||||
- {{ ocis_data_dir }}:/var/lib/ocis
|
||||
{% if ocis_routing_mode == "traefik" %}
|
||||
networks:
|
||||
{{ ocis_traefik_network }}:
|
||||
external: true
|
||||
{% endif %}
|
||||
@@ -0,0 +1,4 @@
|
||||
{% for key, value in ocis_env.items() %}
|
||||
{{ key }}={{ value }}
|
||||
{% endfor %}
|
||||
|
||||
Reference in new issue
Block a user