Skip to content

Commit

Permalink
Improve development workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasDeBruijn committed Feb 24, 2024
1 parent e9f0f2a commit c8ba0a0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,20 @@ all: help
help:
echo "Wilford OAuth2 Server"
echo "Commands: "
echo "- up : Start all Docker containers required for a local installation"
echo "- upload-all : Build and upload all Docker images"
echo "- upload-server : Build and upload the server Docker image"
echo "- upload-docs : Build and upload the docs Docker image"
echo "- upload-ui : Build and upload the ui Docker image"

.PHONY: up
up:
docker compose up -d
echo "Wilford UI available at http://localhost:2522"
echo "Wilford Docs available at http://localhost:2523"
echo "EspoCRM UI availabel at http://localhost:2524"
echo "If this is the first run, please configure EspoCRM and Wilford."

.PHONY: upload-all
upload-all: upload-server upload-docs upload-ui

Expand Down
4 changes: 4 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ version: '3.2'
services:
mariadb-wilford:
image: mariadb
volumes:
- "./tmp/mariadb-wilford:/var/lib/mysql"
environment:
- "MARIADB_ROOT_PASSWORD=123"
- "MARIADB_USER=wilford"
Expand All @@ -10,6 +12,8 @@ services:

mariadb-espocrm:
image: mariadb
volumes:
- "./tmp/mariadb-espocrm:/var/lib/mysql"
environment:
- "MARIADB_ROOT_PASSWORD=123"
- "MARIADB_USER=espocrm"
Expand Down

0 comments on commit c8ba0a0

Please sign in to comment.