mirror of
https://github.com/Gurkengewuerz/nitro-docker.git
synced 2024-11-23 00:20:52 +01:00
fix: fixed some docker files
This commit is contained in:
parent
ad7fc4141e
commit
5b90f1a3b9
@ -20,6 +20,10 @@ This setup installs a complete local setup. Connecting externally requires editi
|
|||||||
| CMS | http://127.0.0.1:8081 | example.com |
|
| CMS | http://127.0.0.1:8081 | example.com |
|
||||||
| Nitro Client | http://127.0.0.1:3080 | game.example.com |
|
| Nitro Client | http://127.0.0.1:3080 | game.example.com |
|
||||||
|
|
||||||
|
```sql
|
||||||
|
UPDATE emulator_settings SET `value`='*.mc8051.de' WHERE `key`='websockets.whitelist';
|
||||||
|
```
|
||||||
|
|
||||||
## Build
|
## Build
|
||||||
1. Download the default assets
|
1. Download the default assets
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ RUN composer install
|
|||||||
|
|
||||||
|
|
||||||
# ---------------------------------------------
|
# ---------------------------------------------
|
||||||
FROM node:lts-alpine as npm-builder
|
FROM node:lts as npm-builder
|
||||||
|
|
||||||
WORKDIR /var/www/html
|
WORKDIR /var/www/html
|
||||||
|
|
||||||
|
@ -128,6 +128,7 @@ services:
|
|||||||
- ".cms.env:/var/www/html/.env"
|
- ".cms.env:/var/www/html/.env"
|
||||||
- "./atomcms/storage:/var/www/html/storage/app/public"
|
- "./atomcms/storage:/var/www/html/storage/app/public"
|
||||||
- "./atomcms/logs:/var/www/html/storage/logs"
|
- "./atomcms/logs:/var/www/html/storage/logs"
|
||||||
|
restart: unless-stopped
|
||||||
networks: [nitro]
|
networks: [nitro]
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
|
@ -9,6 +9,11 @@ RUN apt-get update && apt-get install -y \
|
|||||||
git \
|
git \
|
||||||
build-essential \
|
build-essential \
|
||||||
python3 \
|
python3 \
|
||||||
|
libcairo2-dev \
|
||||||
|
libpango1.0-dev \
|
||||||
|
libjpeg-dev \
|
||||||
|
libgif-dev \
|
||||||
|
librsvg2-dev \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
RUN apt remove apt --autoremove -y --allow-remove-essential
|
RUN apt remove apt --autoremove -y --allow-remove-essential
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user