diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 323967e..fc027ff 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -22,7 +22,7 @@ jobs: run: docker compose pull mysql - name: create docker network - run: docker network create my-shared-network + run: docker network create gruene-services-bridge-network - uses: satackey/action-docker-layer-caching@v0.0.11 continue-on-error: true diff --git a/docker-compose.yml b/docker-compose.yml index 8c8d882..3d1e924 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -29,7 +29,7 @@ services: extra_hosts: - "host.docker.internal:host-gateway" networks: - - my-shared-network + - gruene-services-bridge-network mysql: image: mysql:5.7 @@ -44,7 +44,7 @@ services: MYSQL_PASSWORD: laravel container_name: wsmysql_webling networks: - - my-shared-network + - gruene-services-bridge-network phpmyadmin: image: phpmyadmin/phpmyadmin @@ -58,7 +58,7 @@ services: PMA_PASSWORD: laravel container_name: wsphpmyadmin_webling networks: - - my-shared-network + - gruene-services-bridge-network mailhog: image: mailhog/mailhog @@ -66,11 +66,11 @@ services: - '8020:8025' container_name: wsmailhog_webling networks: - - my-shared-network + - gruene-services-bridge-network volumes: database: networks: - my-shared-network: + gruene-services-bridge-network: external: true diff --git a/readme.md b/readme.md index 6ef23c3..73cbdae 100644 --- a/readme.md +++ b/readme.md @@ -21,6 +21,7 @@ and start contributing 😍. 1. Start docker 1. Clone this repo `git clone https://github.com/grueneschweiz/weblingservice.git` 1. `cd` into the folder containing the repo +1. if it doesn't exists already, create the shared network `docker network create gruene-services-bridge-network` 1. Execute `docker compose run weblingservice composer install` and have a ☕️ while it installs. 1. Execute `docker compose up -d` to start up the stack. The first time you run