summaryrefslogtreecommitdiff
path: root/ci/docker-compose.yaml.example
diff options
context:
space:
mode:
authorckonstanski <carlos.konstanski@olo.com>2025-11-22 14:19:22 -0700
committerckonstanski <carlos.konstanski@olo.com>2025-11-22 14:19:22 -0700
commit345b7c18f74af579693f82f6b760a7b49d13cb52 (patch)
treeb159cef817ba697de226b70c7d7dd30270491f4e /ci/docker-compose.yaml.example
parent182146b9198e31a31d455368024b7c5dcb3e8f06 (diff)
docker-compose
Diffstat (limited to 'ci/docker-compose.yaml.example')
-rw-r--r--ci/docker-compose.yaml.example48
1 files changed, 48 insertions, 0 deletions
diff --git a/ci/docker-compose.yaml.example b/ci/docker-compose.yaml.example
new file mode 100644
index 0000000..78c8478
--- /dev/null
+++ b/ci/docker-compose.yaml.example
@@ -0,0 +1,48 @@
+services:
+ ldapadmin:
+ image: ldapadmin: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: ldapadmin
+ volumes:
+ - 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: ~/.gitconfig
+ target: /home/${OLO_USERNAME}/.gitconfig
+ - type: bind
+ source: ~/.ssh
+ target: /home/${OLO_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}
+ command: [ "/bin/bash -l -c" ]