forked from cytopia/devilbox
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
198 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# vim: set ft=yaml: | ||
--- | ||
version: '2.3' | ||
|
||
services: | ||
|
||
# ----------------------------------------------------------------------------------------------- | ||
# Buggregator | ||
# ----------------------------------------------------------------------------------------------- | ||
buggregator: | ||
image: ghcr.io/buggregator/server:latest | ||
ports: | ||
- 23517:8000 | ||
#- 8000:8000 | ||
- 1025:1025 # smtp | ||
- 9912:9912 # var-dumper | ||
- 9913:9913 # monolog | ||
environment: | ||
- DB_CONNECTION=mysql | ||
- DB_HOST=mysql | ||
- VAR_DUMPER_FORMAT=server | ||
- VAR_DUMPER_SERVER=buggregator:9912 | ||
- RAY_HOST=buggregator | ||
- RAY_PORT=8000 | ||
networks: | ||
- app_net | ||
# depends_on: | ||
# - mysql |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# vim: set ft=yaml: | ||
--- | ||
version: '2.3' | ||
|
||
services: | ||
|
||
# ----------------------------------------------------------------------------------------------- | ||
# Mailpit | ||
# ----------------------------------------------------------------------------------------------- | ||
mailpit: | ||
image: axllent/mailpit:${MAILPIT_SERVER:-latest} | ||
hostname: mailpit | ||
restart: unless-stopped | ||
ports: | ||
- "${LOCAL_LISTEN_ADDR}${HOST_PORT_MAILPIT:-8025}:8025" | ||
- "${LOCAL_LISTEN_ADDR}${SMTP_PORT_MAILPIT:-1025}:1025" | ||
networks: | ||
app_net: | ||
ipv4_address: 172.16.238.201 | ||
depends_on: | ||
- bind | ||
- php | ||
- httpd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,9 @@ | ||
@echo off | ||
|
||
docker-compose exec --user devilbox php /bin/sh -c "cd /shared/httpd; exec bash -l" | ||
set php=php | ||
|
||
if not "%~1"=="" ( | ||
set php=%1 | ||
) | ||
|
||
docker-compose exec --user devilbox %php% /bin/sh -c "cd /shared/httpd; exec bash -l" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#!/bin/sh | ||
|
||
if hash docker-compose 2>/dev/null; then | ||
docker-compose exec --user devilbox php bash -l | ||
docker-compose exec --user devilbox ${1:-php} bash -l | ||
else | ||
docker compose exec --user devilbox php bash -l | ||
docker compose exec --user devilbox ${1:-php} php bash -l | ||
fi |