diff --git a/.env b/.env index cf00a013..bfcb72a3 100644 --- a/.env +++ b/.env @@ -5,4 +5,5 @@ ENVIRONMENT_NAME=Shuffle # Other configs BACKEND_HOSTNAME=shuffle-backend BACKEND_PORT=5010 +FRONTEND_PORT=3001 OUTER_HOSTNAME=192.168.3.6 diff --git a/docker-compose.yml b/docker-compose.yml index c15f481d..895fab03 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,7 +8,7 @@ services: container_name: shuffle-frontend hostname: shuffle-frontend ports: - - "3001:80" + - "${FRONTEND_PORT}:80" networks: - shuffle restart: unless-stopped @@ -17,8 +17,6 @@ services: image: frikky/shuffle:database container_name: shuffle-database hostname: shuffle-database - ports: - - "8000:8000" networks: - shuffle restart: unless-stopped diff --git a/install-guide.md b/install-guide.md index 05601f11..6be49372 100644 --- a/install-guide.md +++ b/install-guide.md @@ -21,7 +21,14 @@ cd shuffle docker-compose up -d ``` -3. Useful info: +## After installation +1. After installation, go to http://localhost:3001/adminsetup (or your servername) + +2. Now set up your admin account (username & password). Shuffle doesn't have a default username and password. + +![Admin account setup](shuffle_adminaccount.png) + +## Useful info * The server is available on http://localhost:3001 (or your servername) -* Further configuration in docker-compose.yml and .env. +* Further configurations can be done in docker-compose.yml and .env. * Default database location is /etc/shuffle diff --git a/shuffle_adminaccount.png b/shuffle_adminaccount.png new file mode 100644 index 00000000..4c3315cf Binary files /dev/null and b/shuffle_adminaccount.png differ