summaryrefslogtreecommitdiff
path: root/ci/docker-compose.yaml.example
diff options
context:
space:
mode:
authorckonstanski <carlos.konstanski@olo.com>2025-11-16 11:16:00 -0700
committerckonstanski <carlos.konstanski@olo.com>2025-11-16 11:16:00 -0700
commit313fb607c03082750fbde9135cadf4a35db9d5b4 (patch)
tree7299ff89c1e24568f401296b13d213ed1f0d98fb /ci/docker-compose.yaml.example
parent4f709f16c98624cae548d2516749bf7c6da903e8 (diff)
move CI to docker-compose
Diffstat (limited to 'ci/docker-compose.yaml.example')
-rw-r--r--ci/docker-compose.yaml.example71
1 files changed, 71 insertions, 0 deletions
diff --git a/ci/docker-compose.yaml.example b/ci/docker-compose.yaml.example
new file mode 100644
index 0000000..df0c581
--- /dev/null
+++ b/ci/docker-compose.yaml.example
@@ -0,0 +1,71 @@
+services:
+ bogenherr:
+ image: bogenherr:v0.1
+ tty: true
+ build:
+ context: .
+ args:
+ OLO_USERNAME: ${OLO_USERNAME}
+ OLO_GROUPNAME: ${OLO_GROUPNAME}
+ OLO_UID: ${OLO_UID}
+ OLO_GID: ${OLO_GID}
+ network_mode: "host"
+ container_name: bogenherr
+ volumes:
+ # - type: bind
+ # source: /tmp/bogenherr
+ # target: /tmp/bogenherr
+ - type: bind
+ source: ${OLO_PROJECT_HOME}
+ target: ${OLO_PROJECT_HOME}
+ - type: bind
+ source: ~/.m2
+ target: /home/${OLO_USERNAME}/.m2
+ - type: bind
+ source: ~/.bashrc
+ target: /home/${OLO_USERNAME}/.bashrc
+ - type: bind
+ source: ~/.bash_history
+ target: /home/${OLO_USERNAME}/.bash_history
+ - type: bind
+ source: ~/.vimrc
+ target: /home/${OLO_USERNAME}/.vimrc
+ - type: bind
+ source: ~/.emacs.d
+ target: /home/${OLO_USERNAME}/.emacs.d
+ - type: bind
+ source: ~/.gitconfig
+ target: /home/${OLO_USERNAME}/.gitconfig
+ - type: bind
+ source: ~/.ssh
+ target: /home/${OLO_USERNAME}/.ssh
+ - type: bind
+ source: ~/.password-store
+ target: /home/${OLO_USERNAME}/.password-store
+ - type: bind
+ source: ~/.gnupg
+ target: /home/${OLO_USERNAME}/.gnupg
+ - type: bind
+ source: /run/user/${OLO_UID}
+ target: /run/user/${OLO_UID}
+ - type: bind
+ source: /run/user/${OLO_UID}/gnupg/S.gpg-agent
+ target: /home/${OLO_USERNAME}/.gnupg/S.gpg-agent
+ - 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
+ - AWS_SDK_LOAD_CONFIG=1
+ - https_proxy=${https_proxy}
+ - http_proxy=${http_proxy}
+ - no_proxy=${no_proxy}
+ - GITHUB_TOKEN=${GITHUB_TOKEN}
+ - GPG_AGENT_INFO=/home/${OLO_USERNAME}/.gnupg/S.gpg-agent:0:1
+ command: [ "/bin/bash -l -c" ]