Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e0ab5b5961 | ||
|
|
560734d72c |
@@ -1,2 +1,2 @@
|
|||||||
parameters:
|
parameters:
|
||||||
app.version: '0.1.26'
|
app.version: '0.1.27'
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
ports:
|
ports:
|
||||||
- "3005:3003"
|
- "3003:3003"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
nginx:
|
nginx:
|
||||||
image: nginx:1.27-alpine
|
image: nginx:1.27-alpine
|
||||||
@@ -47,7 +47,7 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
db:
|
db:
|
||||||
image: postgres:16-alpine
|
image: postgres:16-alpine
|
||||||
command: -p ${POSTGRES_PORT:-5437}
|
command: -p ${POSTGRES_PORT:-5436}
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_DB: ${POSTGRES_DB}
|
POSTGRES_DB: ${POSTGRES_DB}
|
||||||
POSTGRES_USER: ${POSTGRES_USER}
|
POSTGRES_USER: ${POSTGRES_USER}
|
||||||
@@ -55,7 +55,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- pg_data:/var/lib/postgresql/data
|
- pg_data:/var/lib/postgresql/data
|
||||||
ports:
|
ports:
|
||||||
- "${POSTGRES_PORT:-5437}:${POSTGRES_PORT:-5437}"
|
- "${POSTGRES_PORT:-5436}:${POSTGRES_PORT:-5436}"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
pg_data:
|
pg_data:
|
||||||
|
|||||||
@@ -5,6 +5,6 @@ APP_USER=www-data
|
|||||||
POSTGRES_DB=central
|
POSTGRES_DB=central
|
||||||
POSTGRES_USER=root
|
POSTGRES_USER=root
|
||||||
POSTGRES_PASSWORD=root
|
POSTGRES_PASSWORD=root
|
||||||
POSTGRES_PORT=5437
|
POSTGRES_PORT=5436
|
||||||
XDEBUG_CLIENT_HOST=host.docker.internal
|
XDEBUG_CLIENT_HOST=host.docker.internal
|
||||||
HOST_APPS_PATH=/home/user/workspace
|
HOST_APPS_PATH=/home/user/workspace
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ RUN mkdir -p /var/www/.composer/cache/vcs \
|
|||||||
ENV COMPOSER_HOME=/var/www/.composer
|
ENV COMPOSER_HOME=/var/www/.composer
|
||||||
|
|
||||||
# Création de la structure du projet
|
# Création de la structure du projet
|
||||||
RUN mkdir -p /var/www/html/LOG /var/www/html/var/cache /var/www/html/var/log
|
RUN mkdir /var/www/html/LOG
|
||||||
|
|
||||||
###> User ###
|
###> User ###
|
||||||
ARG CURRENT_UID
|
ARG CURRENT_UID
|
||||||
|
|||||||
6
makefile
6
makefile
@@ -43,11 +43,7 @@ install: composer-install cache-clear node-use build-nuxtJS migration-migrate
|
|||||||
# Supprime tout est réinstalle tout (Attention ça supprime la bdd aussi)
|
# Supprime tout est réinstalle tout (Attention ça supprime la bdd aussi)
|
||||||
reset: delete_built_dir remove_orphans build-without-cache start wait install
|
reset: delete_built_dir remove_orphans build-without-cache start wait install
|
||||||
|
|
||||||
fix-permissions:
|
composer-install:
|
||||||
$(EXEC_PHP_ROOT) mkdir -p var/cache var/log
|
|
||||||
$(EXEC_PHP_ROOT) chown -R $(APP_USER):$(APP_USER) var/
|
|
||||||
|
|
||||||
composer-install: fix-permissions
|
|
||||||
$(EXEC_PHP) composer install
|
$(EXEC_PHP) composer install
|
||||||
$(SYMFONY_CONSOLE) lexik:jwt:generate-keypair --skip-if-exists
|
$(SYMFONY_CONSOLE) lexik:jwt:generate-keypair --skip-if-exists
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user