Skip to content

Commit

Permalink
Merge pull request #14 from GDRCD/dev
Browse files Browse the repository at this point in the history
v2.0.1
  • Loading branch information
Kasui92 authored Jan 1, 2025
2 parents 02f2b43 + 598efa3 commit e580494
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .docker/services/webserver/version/php56/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Create image based on the official PHP-FMP image
FROM php:5.6-fpm-stretch
FROM php:5.6-fpm-stretch AS base-stage

# Arguments defined in docker-compose.yml
ARG uid
Expand Down
2 changes: 1 addition & 1 deletion .docker/services/webserver/version/php8/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Create image based on the official PHP-FMP image
FROM php:8.0-fpm-bullseye
FROM php:8.0-fpm-bullseye AS base-stage

# Arguments defined in docker-compose.yml
ARG uid
Expand Down
21 changes: 19 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,24 @@ Opzioni disponibili:

Accede alla shell del container `database`.

`run database export <database_name> [file]`

Esporta un database in un file di dump.

Opzioni disponibili:
- `-c, --compress`: Esporta un file di dump compresso

`run database import <database_name> <file>`

Importa un file di dump (.sql, .sql.gz).

Opzioni disponibili:
- `-fd, --force-drop`: Elimina lo schema prima dell'importazione

`run database refresh <database_name>`

Pulisce tutte le tabelle nel database.

`./run webserver logs`

Mostra i log del container `webserver`.
Expand Down Expand Up @@ -327,5 +345,4 @@ Di seguito le versioni di riferimento dell'engine OS GDRCD:
- [GDRCD](https://github.com/GDRCD/GDRCD) © GDRCD Organization, licenza CC

## Licenza
[MIT](https://choosealicense.com/licenses/mit/)

[MIT](https://choosealicense.com/licenses/mit/)
5 changes: 5 additions & 0 deletions bin/commands/service/disable
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,12 @@ fi
#---------------------------RUN COMMAND-------------------------------#

disable () {
# Handle container existence
dockerCompose stop "$service_name"
dockerCompose rm -f "$service_name"
# Disable service
disableService "$service_name"

message --success "Service $service_name disabled"

# Restart containers to apply changes
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v2.0.0
v2.0.1

0 comments on commit e580494

Please sign in to comment.