Ctrl K
ComunidadGuías…

docker-compose.example.yml

Rama master · réplica de lectura del repositorio original.

Archivo original ↗Preguntar a KiBot
version: '3'
services:
  cloudmacs:
    image: karlicoss/cloudmacs:latest
    container_name: cloudmacs
    restart: unless-stopped
    stdin_open: true
    tty: true
    ports:
      - 8080:8080
    environment:
      # ugh. docker-compose can't into proper shell substitution...
      - UNAME
      - GNAME
      - EMACS_UID
      - EMACS_GID
      - UHOME=/home/emacs
      - TERM=xterm-256color # TODO move it to container instead?
    volumes:
      # you might want to share your emacs/spacemacs init file, normally there should be no harm in it
      - ${HOME}/.spacemacs.d:/home/emacs/.spacemacs.d
      # or alternatively, if you're using .spacemacs file
      # - ${HOME}/.spacemacs:/home/emacs/.spacemacs
      # see Readme::Setting up Spacemacs for explanation
      - ${HOME}/.cloudmacs.d:/home/emacs/.emacs.d
      # map your personal files here you want to make accessible to cloudmacs
      # WARNING: be careful mapping more than necesarry (e.g. whole hard drives) if you're planning to expose your container to the outside world
      - ${HOME}/data:/home/emacs/data