Skip to content

Commit

Permalink
Remove build from standard compose file and add new local build file
Browse files Browse the repository at this point in the history
  • Loading branch information
MiraiSubject authored Jan 14, 2024
1 parent 7e5b959 commit 89a1197
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
12 changes: 12 additions & 0 deletions compose.build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: "3.3"
services:
managebot:
container_name: managebot
privileged: true
restart: unless-stopped
build:
context: .
dockerfile: Dockerfile
volumes:
- ./config:/usr/src/app/config
- /var/run/docker.sock:/var/run/docker.sock
6 changes: 3 additions & 3 deletions compose.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
version: "3.3"
services:
managebot:
container_name: managebot
privileged: true
restart: unless-stopped
image: "ghcr.io/xdFNLeaks/managebot:latest"
build:
context: .
dockerfile: Dockerfile
volumes:
- ./config:/usr/src/app/config
- /var/run/docker.sock:/var/run/docker.sock

0 comments on commit 89a1197

Please sign in to comment.