Compare commits

...

10 Commits

Author SHA1 Message Date
Robin Slot
21861c195c Recommend auto upgrade and LTS version 2024-03-12 19:59:39 +01:00
Crabest
741a8221e5
Change permissions recursively (#10) 2023-11-25 22:48:10 +01:00
Derkades
49ce6f2358 Add 2.1.2 tag 2023-10-09 10:12:57 +02:00
Robin Slot
c8bed9df45 Add v2.1.1 2023-06-27 12:46:45 +02:00
Robin Slot
f68081ea30 Update tags to v2.1 in examples 2023-05-10 17:22:21 +02:00
Robin Slot
7805bb171c Add v2.1 tags to readme 2023-05-08 22:57:39 +02:00
Robin Slot
5a37401d92 Update readme for 2.0.3 2023-01-29 10:54:51 +01:00
Robin
7bdbcd7ac6 pr7-pr12 images no longer receive updates as of today 2023-01-18 13:52:24 +01:00
Robin
9ee4ac23a6 Update to PHP 8.2 2022-12-12 20:15:53 +01:00
Robin
24d889accd Add intl extension 2022-10-23 20:32:38 +02:00
4 changed files with 32 additions and 26 deletions

View File

@ -22,7 +22,7 @@ Download the [latest docker-compose.yml](https://github.com/NamelessMC/Nameless-
Create a directory on the host with correct permissions. By default the containers use `www-data` user id 33, so: Create a directory on the host with correct permissions. By default the containers use `www-data` user id 33, so:
``` ```
mkdir web mkdir web
chown 33:33 web chown -R 33:33 web
``` ```
Then run `docker compose up -d`. Then run `docker compose up -d`.
@ -36,37 +36,42 @@ Check container logs using `docker compose logs`.
## Development ## Development
If you want to use Docker for developing NamelessMC, please see the [docker compose file in the main repo](https://github.com/NamelessMC/Nameless/blob/v2/docker-compose.yaml). If you want to use Docker for developing NamelessMC, please see the [docker compose file in the main repository](https://github.com/NamelessMC/Nameless/blob/v2/docker-compose.yaml).
## Updating ## Updating
First, follow regular update instructions on the website (uploading files etc). After the upgrade is complete and your website is back up, change the image tag to the new version (e.g. change from `v2-pr7` to `v2-pr8`) to get the newest PHP library versions. First, follow regular update instructions on the website (uploading files etc). After the upgrade is complete and your website is back up, change the image tag to the new version (e.g. change from `v2.0` to `v2.1`) to get the newest PHP library versions.
## Available tags ## Available tags
### Supported tags ### Supported tags
| Tag | NamelessMC version | PHP version | Receives updates\* | Notes | Tag | NamelessMC version | PHP version | Receives updates\* | Notes
| --- | ------------------ | ----------- | ---------------- | ----- | --- | ------------------ | ----------- | ---------------- | -----
v2.0.2 | v2.0.2 | 8.1 | Yes | v2.1 | Latest v2.1.x release (currently 2.1.2) | 8.2 | Yes | Recommended tag
v2.0 | Latest v2.0.x release (currently 2.0.2) | 8.1 | Yes v2.1.2 | v2.1.2 | 8.2 | Yes
dev | v2 development | 8.1 | Yes | For development only, reinstall frequently. Downloads latest source code and includes composer and yarnpkg. dev | v2 development | 8.2 | Yes | For development only. Downloads latest source code and includes composer and npm.
### Legacy tags ### Legacy tags
| Tag | NamelessMC version | PHP version | Receives updates\* | Notes | Tag | NamelessMC version | PHP version | Receives updates\* | Notes
| --- | ------------------ | ----------- | ---------------- | ----- | --- | ------------------ | ----------- | ---------------- | -----
v2-pr7 | v2.0.0-pr7 | 7.4 | Yes | v2-pr7 | v2.0.0-pr7 | 7.4 | No |
v2-pr8 | v2.0.0-pr8 | 7.4 | Yes | v2-pr8 | v2.0.0-pr8 | 7.4 | No |
v2-pr9 | v2.0.0-pr9 | 7.4 | Yes | v2-pr9 | v2.0.0-pr9 | 7.4 | No |
v2-pr9-php8 | v2.0.0-pr9 | 8.0 | Yes | Experimental v2-pr9-php8 | v2.0.0-pr9 | 8.0 | No | Experimental
v2-pr10 | v2.0.0-pr10 | 8.0 | Yes | Use PHP 7.4 for compatibility v2-pr10 | v2.0.0-pr10 | 8.0 | No | Use PHP 7.4 for compatibility
v2-pr10-php74 | v2.0.0-pr10 | 7.4 | Yes | v2-pr10-php74 | v2.0.0-pr10 | 7.4 | No |
v2-pr11 | v2.0.0-pr11 | 8.0 | Yes | v2-pr11 | v2.0.0-pr11 | 8.0 | No |
v2-pr11-php74 | v2.0.0-pr11 | 7.4 | Yes | For compatibility with legacy modules v2-pr11-php74 | v2.0.0-pr11 | 7.4 | No | For compatibility with legacy modules
v2-pr12 | v2.0.0-pr12 | 8.0 | Yes | v2-pr12 | v2.0.0-pr12 | 8.0 | No |
v2-pr12-php74 | v2.0.0-pr12 | 7.4 | Yes | For compatibility with legacy modules v2-pr12-php74 | v2.0.0-pr12 | 7.4 | No | For compatibility with legacy modules
v2-pr13 | v2.0.0-pr13 | 8.1 | Yes | v2-pr13 | v2.0.0-pr13 | 8.2 (8.1 before 2022-12-12) | Yes |
v2.0.0 | v2.0.0 | 8.1 | Yes | v2.0.0 | v2.0.0 | 8.2 (8.1 before 2022-12-12) | Yes |
v2.0.1 | v2.0.1 | 8.1 | Yes | v2.0.1 | v2.0.1 | 8.2 (8.1 before 2022-12-12) | Yes |
v2.0.2 | v2.0.2 | 8.2 (8.1 before 2022-12-12) | Yes |
v2.0 | Latest v2.0.x release (currently 2.0.3) | 8.2 (8.1 before 2022-12-12) | Yes |
v2.0.3 | v2.0.3 | 8.2 | Yes |
v2.1.0 | v2.1.0 | 8.2 | Yes |
v2.1.1 | v2.1.1 | 8.2 | Yes |
dev-php8 | v2 development | 8.0 | No | Use `:dev` instead, it now uses PHP 8 dev-php8 | v2 development | 8.0 | No | Use `:dev` instead, it now uses PHP 8
\* Image updates, not NamelessMC updates. Only the latest NamelessMC version is supported. \* Image updates, not NamelessMC updates. Only the latest NamelessMC version is supported.

View File

@ -3,7 +3,7 @@ version: '2.4'
services: services:
nginx: nginx:
image: namelessmc/nginx:v2-pr13 image: namelessmc/nginx:v2.1
ports: ['8080:8080'] ports: ['8080:8080']
volumes: volumes:
- type: bind # same as php container - type: bind # same as php container
@ -25,7 +25,7 @@ services:
# restart: always # restart: always
php: php:
image: namelessmc/php:v2-pr13 image: namelessmc/php:v2.1
volumes: volumes:
- type: bind # same as web container - type: bind # same as web container
source: ./web source: ./web

View File

@ -3,7 +3,7 @@ version: '3.2'
services: services:
nginx: nginx:
image: namelessmc/nginx:dev image: namelessmc/nginx:v2.1
ports: ['8080:8080'] ports: ['8080:8080']
volumes: volumes:
- type: bind # same as php container - type: bind # same as php container
@ -16,7 +16,7 @@ services:
# restart: always # restart: always
php: php:
image: namelessmc/php:dev image: namelessmc/php:v2.1
volumes: volumes:
- type: bind # same as web container - type: bind # same as web container
source: ./web source: ./web
@ -26,7 +26,7 @@ services:
# restart: always # restart: always
db: db:
image: mariadb image: mariadb:10.11
volumes: volumes:
- type: bind - type: bind
source: ./db source: ./db
@ -36,4 +36,5 @@ services:
MARIADB_USER: nameless MARIADB_USER: nameless
MARIADB_PASSWORD: nameless MARIADB_PASSWORD: nameless
MARIADB_DATABASE: nameless MARIADB_DATABASE: nameless
MARIADB_AUTO_UPGRADE: 1
# restart: always # restart: always

View File

@ -1,8 +1,8 @@
FROM php:8.1-fpm-bullseye FROM php:8.2-fpm-bullseye
ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/ ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
RUN chmod +x /usr/local/bin/install-php-extensions && \ RUN chmod +x /usr/local/bin/install-php-extensions && \
install-php-extensions gd pdo_mysql mysqli zip exif install-php-extensions gd pdo_mysql mysqli zip exif intl
# php-fpm loads configuration in alphabetical order so prefix with zz- # php-fpm loads configuration in alphabetical order so prefix with zz-
RUN { \ RUN { \