Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
timnolte committed Sep 29, 2023
1 parent d324f6d commit 4dcecd6
Show file tree
Hide file tree
Showing 4 changed files with 567 additions and 13 deletions.
6 changes: 6 additions & 0 deletions dev-cli
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ case $1 in
# Run the command.
devcontainer --workspace-folder "${WORKSPACE_DIR}" up "$@"
;;
stop)
# Pop the first argument.
shift
# Run the command.
SUPPRESS=$( docker ps -aq | xargs docker stop | xargs docker rm >/dev/null 2>&1 ) >/dev/null 2>&1
;;
shell)
# Pop the first argument.
shift
Expand Down
5 changes: 3 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ services:
- ../:/workspaces:cached
- .:/workspaces/openid-connect-generic:cache
- ./tools/wp-config.php:/workspaces/openid-connect-generic/tools/local-env/wp-config.php:cached,ro
#- ./tools/local-env:/app:ro,cached
- ~/.composer:/root/.composer:cached
- ~/.npm:/root/.npm:cached
networks:
Expand All @@ -34,15 +35,15 @@ services:
depends_on:
- db
ports:
- 8080:8080
- 8080:80
environment:
WORDPRESS_DB_HOST: db
WORDPRESS_DB_NAME: wordpress
WORDPRESS_DB_USER: wordpress
WORDPRESS_DB_PASSWORD: wordpress
volumes:
- ./tools/local-env:/app:cached
- ./tools/apache-vhost/dev.conf:/usr/local/apache2/conf/dev.conf:ro
- ./tools/apache/httpd.conf:/usr/local/apache2/conf/httpd.conf:ro
- .:/app/wp-content/plugins/daggerhart-openid-connect-generic:cached,ro
- ./tools/wp-config.php:/app/wp-config.php:cached,ro
- ./tools/mu-plugins:/app/wp-content/mu-plugins:cached,ro
Expand Down
11 changes: 0 additions & 11 deletions tools/apache-vhost/dev.conf

This file was deleted.

Loading

0 comments on commit 4dcecd6

Please sign in to comment.