Development file is in main repo

This commit is contained in:
Derkades 2020-07-28 19:12:24 +02:00
parent 036390f88f
commit 52fdac965e
2 changed files with 5 additions and 22 deletions

View File

@ -21,3 +21,8 @@ Download [docker-compose.yml](https://github.com/NamelessMC/Nameless-Docker/raw/
When the containers are up, visit the website in a browser to start the installer. By default it listens on any interface, port 80. When the containers are up, visit the website in a browser to start the installer. By default it listens on any interface, port 80.
When the database configuration page shows up, fill in `db` for *database address*. For database username, password and database name, fill `nameless` for all of them, if you used default database credentials. When the database configuration page shows up, fill in `db` for *database address*. For database username, password and database name, fill `nameless` for all of them, if you used default database credentials.
## 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).

View File

@ -1,22 +0,0 @@
version: '2'
services:
nginx:
build: nginx_web
ports: ['80:80']
volumes: ['/srv/namelessmc/web:/data'] # same as php container
depends_on: [namelessmc_php]
php:
build: php_fpm
volumes: ['/srv/namelessmc/web:/data'] # same as web container
db:
image: mariadb
volumes: ['/srv/namelessmc/db:/var/lib/mysql']
environment:
MYSQL_ROOT_PASSWORD: nameless
MYSQL_USER: nameless
MYSQL_PASSWORD: nameless
MYSQL_DATABASE: nameless