Compare commits
No commits in common. '46c85b3cc17035153f649cf11e46d26a988549dc' and 'a1bba57f20fb9425bcd1792aff895852dfbf8db0' have entirely different histories.
46c85b3cc1
...
a1bba57f20
9 changed files with 88 additions and 123 deletions
@ -0,0 +1,35 @@
|
||||
services: |
||||
ddjj: |
||||
build: |
||||
context: . |
||||
dockerfile: Dockerfile |
||||
volumes: |
||||
- /etc/localtime:/etc/localtime:ro |
||||
- /etc/timezone:/etc/timezone:ro |
||||
- ./src/app/:/var/www/ddjj/app:rw |
||||
- ./src/config/:/var/www/ddjj/config:rw |
||||
- ./src/database/:/var/www/ddjj/database:rw |
||||
- ./src/public/:/var/www/ddjj/public:rw |
||||
- ./src/resources/:/var/www/ddjj/resources:rw |
||||
- ./src/routes/:/var/www/ddjj/routes:rw |
||||
- ./src/tests/:/var/www/ddjj/tests:rw |
||||
- ./src/composer.json/:/var/www/ddjj/composer.json |
||||
- ./src/composer.lock/:/var/www/ddjj/composer.lock |
||||
- ./src/.env:/var/www/ddjj/.env |
||||
depends_on: |
||||
- pgsql |
||||
ports: |
||||
- 5556:80 |
||||
- 5557:443 |
||||
restart: always |
||||
|
||||
pgsql: |
||||
image: postgres:11.6 |
||||
ports: |
||||
- 5555:5432 |
||||
environment: |
||||
TZ: America/Argentina/Buenos_Aires |
||||
POSTGRES_PASSWORD: postgres |
||||
POSTGRES_DB: ddjj |
||||
PGDATA: /var/lib/postgresql/data/pgdata |
||||
restart: always |
||||
@ -1,18 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?> |
||||
<phpdocumentor configVersion="3" |
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||||
xmlns="https://www.phpdoc.org" |
||||
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/phpDocumentor/phpDocumentor/master/data/xsd/phpdoc.xsd"> |
||||
<paths> |
||||
<output>docs</output> |
||||
<cache>cache</cache> |
||||
</paths> |
||||
<version number="1.0.0"> |
||||
<api> |
||||
<source dsn="."> |
||||
<path>src</path> |
||||
</source> |
||||
</api> |
||||
</version> |
||||
|
||||
</phpdocumentor> |
||||
@ -1,56 +0,0 @@
|
||||
services: |
||||
laravel.test: |
||||
build: |
||||
context: ./vendor/laravel/sail/runtimes/8.4 |
||||
dockerfile: Dockerfile |
||||
args: |
||||
WWWGROUP: '${WWWGROUP}' |
||||
image: sail-8.4/app |
||||
extra_hosts: |
||||
- 'host.docker.internal:host-gateway' |
||||
ports: |
||||
- '${APP_PORT:-80}:80' |
||||
- '${VITE_PORT:-5173}:${VITE_PORT:-5173}' |
||||
environment: |
||||
WWWUSER: '${WWWUSER}' |
||||
LARAVEL_SAIL: 1 |
||||
XDEBUG_MODE: '${SAIL_XDEBUG_MODE:-off}' |
||||
XDEBUG_CONFIG: '${SAIL_XDEBUG_CONFIG:-client_host=host.docker.internal}' |
||||
IGNITION_LOCAL_SITES_PATH: '${PWD}' |
||||
volumes: |
||||
- '.:/var/www/html' |
||||
networks: |
||||
- sail |
||||
depends_on: |
||||
- pgsql |
||||
pgsql: |
||||
image: 'postgres:17' |
||||
ports: |
||||
- '${FORWARD_DB_PORT:-5432}:5432' |
||||
environment: |
||||
PGPASSWORD: '${DB_PASSWORD:-secret}' |
||||
POSTGRES_DB: '${DB_DATABASE}' |
||||
POSTGRES_USER: '${DB_USERNAME}' |
||||
POSTGRES_PASSWORD: '${DB_PASSWORD:-secret}' |
||||
volumes: |
||||
- 'sail-pgsql:/var/lib/postgresql/data' |
||||
- './vendor/laravel/sail/database/pgsql/create-testing-database.sql:/docker-entrypoint-initdb.d/10-create-testing-database.sql' |
||||
networks: |
||||
- sail |
||||
healthcheck: |
||||
test: |
||||
- CMD |
||||
- pg_isready |
||||
- '-q' |
||||
- '-d' |
||||
- '${DB_DATABASE}' |
||||
- '-U' |
||||
- '${DB_USERNAME}' |
||||
retries: 3 |
||||
timeout: 5s |
||||
networks: |
||||
sail: |
||||
driver: bridge |
||||
volumes: |
||||
sail-pgsql: |
||||
driver: local |
||||
Loading…
Reference in new issue