Fix: broken file links for development files (#469)

* FIx broken file links for development files

* Fix: Compose Files Context / Paths / Networks
This commit is contained in:
lupus
2025-09-07 14:16:39 +02:00
committed by GitHub
parent 78dfdbe162
commit f8c4e63b3f
6 changed files with 33 additions and 33 deletions

View File

@@ -72,7 +72,7 @@ To **spin up** the environment, run docker compose as follows:
**Important**: If you are on **Linux** and didn't add the `export` line to your .zshrc/.bashrc file, you need to repeat `step 2` before spinning up, otherwise you will face permissions issues.
```
docker compose -f .dev/docker-compose.mysql.yml up --build
docker compose -f docker/development/docker-compose.mysql.yml up --build
```
### 2. Spinning Down
@@ -80,7 +80,7 @@ docker compose -f .dev/docker-compose.mysql.yml up --build
To **spin down** the environment, run docker compose as follows:
```
docker compose -f .dev/docker-compose.mysql.yml down
docker compose -f docker/development/docker-compose.mysql.yml down
```
### 3. Working with binaries
@@ -88,7 +88,7 @@ docker compose -f .dev/docker-compose.mysql.yml down
To correctly run `composer`, `npm`, `artisan`, `pint`, `pest` or other binaries within this project, you must ssh into the container as follows:
```
docker exec -it invoiceshelf /bin/bash
docker exec -it invoiceshelf-dev-php /bin/sh
```
In the `/var/www/html` directory you can find the application root and run the commands from there.
@@ -114,8 +114,8 @@ The setup parameters/credentials for each of the supported databases are as foll
| **DB_USER** | invoiceshelf | invoiceshelf | Not applicable |
| **DB_PASS** | invoiceshelf | invoiceshelf | Not applicable |
| **DB_NAME** | invoiceshelf | invoiceshelf | /var/www/html/storage/app/database.sqlite |
| **DB_HOST** | db-mysql | db-pgsql | Not applicable |
| **DB_PORT** | 3036 | 5432 | Not applicable |
| **DB_HOST** | 172.18.0.1 | 172.18.0.1 | Not applicable |
| **DB_PORT** | 3306 | 5432 | Not applicable |
**Note:** The only required field for SQLite is **DB_NAME**.

View File

@@ -2,8 +2,8 @@ services:
php-fpm:
container_name: invoiceshelf-dev-php
build:
context: ..
dockerfile: .dev/Dockerfile
context: ../../
dockerfile: docker/development/Dockerfile
args:
- UID=${USRID:-1000}
- GID=${GRPID:-1000}
@@ -16,8 +16,8 @@ services:
nginx:
container_name: invoiceshelf-dev-nginx
build:
context: ..
dockerfile: .dev/nginx.Dockerfile
context: ../../
dockerfile: docker/development/nginx.Dockerfile
environment:
- "PHP_FPM_HOST=php-fpm:9000"
ports:
@@ -46,8 +46,8 @@ services:
adminer:
container_name: invoiceshelf-dev-adminer
build:
context: ./adminer
dockerfile: Dockerfile
context: ../../
dockerfile: docker/development/adminer/Dockerfile
environment:
ADMINER_PLUGINS: tables-filter
ADMINER_DESIGN: konya

View File

@@ -2,8 +2,8 @@ services:
php-fpm:
container_name: invoiceshelf-dev-php
build:
context: ..
dockerfile: .dev/Dockerfile
context: ../../
dockerfile: docker/development/Dockerfile
args:
- UID=${USRID:-1000}
- GID=${GRPID:-1000}
@@ -16,8 +16,8 @@ services:
nginx:
container_name: invoiceshelf-dev-nginx
build:
context: ..
dockerfile: .dev/nginx.Dockerfile
context: ../../
dockerfile: docker/development/nginx.Dockerfile
environment:
- "PHP_FPM_HOST=php-fpm:9000"
ports:
@@ -46,8 +46,8 @@ services:
adminer:
container_name: invoiceshelf-dev-adminer
build:
context: ./adminer
dockerfile: Dockerfile
context: ../../
dockerfile: docker/development/adminer/Dockerfile
environment:
ADMINER_PLUGINS: tables-filter
ADMINER_DESIGN: konya

View File

@@ -2,8 +2,8 @@ services:
php-fpm:
container_name: invoiceshelf-dev-php
build:
context: ..
dockerfile: .dev/Dockerfile
context: ../../
dockerfile: docker/development/Dockerfile
args:
- UID=${USRID:-1000}
- GID=${GRPID:-1000}
@@ -16,8 +16,8 @@ services:
nginx:
container_name: invoiceshelf-dev-nginx
build:
context: ..
dockerfile: .dev/nginx.Dockerfile
context: ../../
dockerfile: docker/development/nginx.Dockerfile
environment:
- "PHP_FPM_HOST=php-fpm:9000"
ports:
@@ -32,13 +32,13 @@ services:
adminer:
container_name: invoiceshelf-dev-adminer
build:
context: ./adminer
dockerfile: Dockerfile
context: ../../
dockerfile: docker/development/adminer/Dockerfile
environment:
ADMINER_PLUGINS: tables-filter
ADMINER_DESIGN: konya
volumes:
- ../database:/database
- ../../database:/database
ports:
- '8080:8080'
networks:

View File

@@ -2,8 +2,8 @@ services:
php-fpm:
container_name: invoiceshelf-dev-php
build:
context: ..
dockerfile: .dev/Dockerfile
context: ../../
dockerfile: docker/development/Dockerfile
args:
- UID=${USRID:-1000}
- GID=${GRPID:-1000}
@@ -16,8 +16,8 @@ services:
nginx:
container_name: invoiceshelf-dev-nginx
build:
context: ..
dockerfile: .dev/nginx.Dockerfile
context: ../../
dockerfile: docker/development/nginx.Dockerfile
environment:
- "PHP_FPM_HOST=php-fpm:9000"
ports:
@@ -32,13 +32,13 @@ services:
adminer:
container_name: invoiceshelf-dev-adminer
build:
context: ./adminer
dockerfile: Dockerfile
context: ../../
dockerfile: docker/development/adminer/Dockerfile
environment:
ADMINER_PLUGINS: tables-filter
ADMINER_DESIGN: konya
volumes:
- ../database:/database
- ../../database:/database
ports:
- '8080:8080'
networks: