summaryrefslogtreecommitdiffstats
path: root/ansible/roles/chartmuseum/handlers/main.yml
blob: 867aaf0f204d8aed105acb29bf396bbce561b34d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
---
- name: Run chartmuseum server container
  docker_container:
    name: chartmuseum
    image: "{{ chartmuseum_server_image }}"
    env:
      STORAGE: "local"
      STORAGE_LOCAL_ROOTDIR: "/charts"
    volumes:
      - "{{ chartmuseum_storage_dir }}:/charts:rw"
    ports:
      - "{{ chartmuseum_port }}:8080/tcp"
    restart_policy: unless-stopped
    recreate: true