Docker config changes for cli editor

This commit is contained in:
david 2024-11-25 00:06:53 +01:00
parent 297138b0d4
commit b756df38a9
6 changed files with 64 additions and 203 deletions

View file

@ -9,12 +9,14 @@ services:
app: &app
build:
context: .
target: development
restart: "unless-stopped"
command: ["/bin/sh", "-c", "/app/bin/dev"]
volumes:
- ./:/app:cached
- ${PWD}:${PWD}
- ${HOME}/.tabby-client:/home/app/.tabby-client
- ${SSH_AUTH_SOCK}:/ssh-agent
- .devenv/helix:/home/app/.config/helix
- .devenv/fish:/home/app/.config/fish
env_file:
- .env
environment:
@ -37,6 +39,16 @@ services:
- traefik
- default
edit:
<<: *app
restart: "no"
labels: []
depends_on: []
command: ["hx", "."]
entrypoint: null
networks:
- default
chrome:
image: selenium/standalone-chrome
shm_size: 2g