code-server/docker-compose.yml
Sven Heidemann 7bae27612f
Some checks failed
Deploy on push / build (push) Successful in 9m23s
Deploy on push / on-push-deploy_sh-edraft (push) Failing after 19s
Updated build workflow
2023-12-09 19:12:42 +00:00

26 lines
683 B
YAML

version: "3.7"
services:
code_server:
image: git.sh-edraft.de/sh-edraft.de/code-server:latest
networks:
- reverse_proxy
volumes:
- /opt/code_server/.local:/home/coder/.local
- /opt/code_server/.config:/home/coder/.config
- /opt/code_server/projects:/home/coder/projects
- /opt/code_server/.gitconfig:/home/coder/.gitconfig
- /opt/code_server/.git-credentials:/home/coder/.git-credentials
deploy:
mode: replicated
replicas: 1
placement:
constraints: [node.hostname == sh-gismo]
resources:
limits:
cpus: "4.0"
memory: 4096M
networks:
reverse_proxy:
external: true