Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ Use the `portainer-compose.yml` file and modify to your hearts content.
## Fixed grammer

Fixed grammar

## Notes

- https://ohmyz.sh/#install
Expand Down
34 changes: 34 additions & 0 deletions docker-compose-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@

services:

# Building and testing environment
dev:
build:
context: .
dockerfile: Dockerfile
image: ghcr.io/growlf/toolbox:latest
environment:
- TESTVAR=${TESTVAR:-app}
stdin_open: true
tty: true
command: ["/bin/zsh"]
network_mode: "host"

# Example container with DooD and host file/net access
app1:
image: ghcr.io/growlf/toolbox:latest
environment:
- TESTVAR=${TESTVAR:-/src} #this is an environment variable that can be altered in portainer
stdin_open: true
tty: true
command: ["/bin/zsh"]
network_mode: "host"


# Example of running the same image with different intent
app2:
image: ghcr.io/growlf/toolbox:latest
stdin_open: true
tty: true
command: ["/bin/bash"]

2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ services:
app1:
image: ghcr.io/growlf/toolbox:latest
environment:
- TESTVAR=${TESTVAR:/src}
- TESTVAR=${TESTVAR:/src} #this is an environment variable
stdin_open: true
tty: true
command: ["/bin/zsh"]
Expand Down
4 changes: 2 additions & 2 deletions portainer-compose.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
version: '3.8'

services:

# Building and testing environment
app:
build:
context: .
dockerfile: Dockerfile
image: ghcr.io/growlf/toolbox:testing
image: ghcr.io/growlf/toolbox:latest
stdin_open: true
tty: true
command: ["/bin/zsh"]
Expand Down