~mclehman/guestctl

ref: df04e7d259d451c65a6d0716b82af0ada5ce249a guestctl/resources/templates/docker-compose.tmpl -rw-r--r-- 315 bytes View raw
df04e7d2 — 0xFORDCOMMA Fix typo in manage-prompt comment. 1 year, 5 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
version: "3.7"
services:
  {{ guest }}:
    image: guest-{{ guest }}:live
    hostname: {{ hostname }}
    build: .
    restart: unless-stopped
    ports:
      - "{{ ssh_port }}:22"
    volumes:
      - type: volume
        source: guest-{{ guest }}
        target: /home/{{ user }}

volumes:
  guest-{{ guest }}: