Skip to content

Commit

Permalink
docker関連のmodernize (#290)
Browse files Browse the repository at this point in the history
  • Loading branch information
mazrean authored Feb 24, 2025
1 parent b4b2eb8 commit 4b0d195
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 74 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ For more information about environment variables, please see [Environment Variab

example
```
$ wget https://github.com/mazrean/ssh-separator/raw/main/docker-compose.yaml
$ wget https://github.com/mazrean/ssh-separator/raw/main/compose.yaml
$ docker compose up
```

Expand Down
File renamed without changes.
49 changes: 0 additions & 49 deletions dev/.air.toml

This file was deleted.

20 changes: 0 additions & 20 deletions dev/Dockerfile

This file was deleted.

8 changes: 4 additions & 4 deletions dev/docker-compose.yaml → dev/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
version: "3"

services:
ssh-server:
build:
context: ..
dockerfile: dev/Dockerfile
environment:
WELCOME: "Login success!"
PROMETHEUS: "true"
Expand All @@ -24,8 +21,11 @@ services:
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ../badger:/tmp/badger
- ../:/app/
security_opt:
- apparmor:unconfined
cap_add:
- SYS_PTRACE
develop:
watch:
- action: rebuild
path: ..

0 comments on commit 4b0d195

Please sign in to comment.