summaryrefslogtreecommitdiff
path: root/ci/docker-compose.yaml.example
blob: 2ee776d216d811149e9d0ffcd742b768ee8e7899 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
services:
  resume:
    image: resume
    tty: true
    build:
      context: .
      args:
        USER_USERNAME: ${USER_USERNAME}
        USER_GROUPNAME: ${USER_GROUPNAME}
        USER_UID: ${USER_UID}
        USER_GID: ${USER_GID}
    network_mode: "host"
    container_name: resume
    volumes:
      - type: bind
        source: ~/.m2
        target: /home/${USER_USERNAME}/.m2
      - type: bind
        source: ~/.bashrc
        target: /home/${USER_USERNAME}/.bashrc
      - type: bind
        source: ~/.bash_history
        target: /home/${USER_USERNAME}/.bash_history
      - type: bind
        source: ~/.vimrc
        target: /home/${USER_USERNAME}/.vimrc
      - type: bind
        source: ~/.gitconfig
        target: /home/${USER_USERNAME}/.gitconfig
      - type: bind
        source: ~/.ssh
        target: /home/${USER_USERNAME}/.ssh
      - type: bind
        source: /etc/hosts
        target: /etc/hosts
      - type: bind
        source: /etc/ssh
        target: /etc/ssh
      - type: bind
        source: /var/log/lisp
        target: /var/log/lisp
    environment:
      - TERM=xterm-256color
      - https_proxy=${https_proxy}
      - http_proxy=${http_proxy}
      - no_proxy=${no_proxy}
      - GITHUB_TOKEN=${GITHUB_TOKEN}