gaur
This commit is contained in:
parent
b7432e8ee0
commit
1c5bd94630
25
Dockerfile
25
Dockerfile
@ -2,5 +2,26 @@ FROM registry.gitlab.com/minetest/minetest/server:latest
|
||||
#ARG NI='aitzol'
|
||||
ARG NI
|
||||
USER root
|
||||
RUN adduser -S $NI -G minetest -u 1000 --disabled-password
|
||||
RUN chown -R $NI:minetest /var/lib/minetest
|
||||
|
||||
#RUN adduser -S $NI -G minetest -u 1000 --disabled-password
|
||||
#RUN chown -R $NI:minetest /var/lib/minetest
|
||||
#RUN chown -R $NI:minetest /etc/minetest
|
||||
#RUN ln -s /etc/minetest/ ~/.minetest
|
||||
|
||||
RUN adduser -S $NI -G minetest -u 1000 --disabled-password \
|
||||
&& chown -R $NI:minetest /var/lib/minetest \
|
||||
&& chown -R $NI:minetest /etc/minetest \
|
||||
&& ln -s /etc/minetest/ ~/.minetest
|
||||
|
||||
#COPY minetest.conf.example /root/.minetest/minetest.conf
|
||||
|
||||
#RUN ln -s /etc/minetest/ ~/.minetest
|
||||
#RUN chown -R -h $NI:minetest ~/.minetest/
|
||||
#RUN chown -R $NI:minetest ~/.minetest
|
||||
#RUN chown -R $NI:minetest /etc/minetest
|
||||
#RUN touch /etc/minetest/minetest.conf
|
||||
#RUN ln -s /etc/minetest/ ~/.minetest
|
||||
#RUN chown -R $NI:minetest ~/.minetest
|
||||
|
||||
#COPY minetest.conf.example /root/.minetest/minetest.conf
|
||||
#CMD cp /usr/local/share/minetest/games/minetest_game/minetest.conf /etc/minetest
|
||||
|
@ -2,32 +2,22 @@
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
irudi:
|
||||
#build: .
|
||||
minetest-irudia:
|
||||
image: minetest.aitzol:latest
|
||||
#environment:
|
||||
#- ADMIN="${USER}"
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
args:
|
||||
NI: "${USER}"
|
||||
|
||||
server:
|
||||
#image: registry.gitlab.com/minetest/minetest/server:latest
|
||||
depends_on:
|
||||
- "irudi"
|
||||
image: minetest.aitzol:latest
|
||||
container_name: minetest-zerbitzaria
|
||||
environment:
|
||||
- USER_UID=1000
|
||||
- USER_GID=1000
|
||||
restart: unless-stopped
|
||||
#user: aitzol
|
||||
#restart: unless-stopped
|
||||
restart: always
|
||||
volumes:
|
||||
- ./data:/var/lib/minetest/:rw
|
||||
#- ./conf:/etc/minetest/:rw
|
||||
- ./conf:/etc/minetest/:rw
|
||||
|
||||
ports:
|
||||
- 30000:30000/udp
|
||||
|
||||
|
@ -1,25 +0,0 @@
|
||||
#docker-compose.yaml
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
irudi:
|
||||
build: .
|
||||
image: dude/man:v2
|
||||
depends_on:
|
||||
- "server"
|
||||
|
||||
server:
|
||||
image: registry.gitlab.com/minetest/minetest/server:latest
|
||||
container_name: minetest-zerbitzaria
|
||||
environment:
|
||||
- USER_UID=30000
|
||||
- USER_GID=30000
|
||||
restart: unless-stopped
|
||||
user: minetest
|
||||
volumes:
|
||||
- ./data:/var/lib/minetest/:rw
|
||||
- ./conf:/etc/minetest/:rw
|
||||
|
||||
ports:
|
||||
- 30000:30000/udp
|
||||
|
@ -1,25 +0,0 @@
|
||||
#docker-compose.yaml
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
irudi:
|
||||
build: .
|
||||
image: minetest.aitzol:latest
|
||||
depends_on:
|
||||
- "server"
|
||||
|
||||
server:
|
||||
image: registry.gitlab.com/minetest/minetest/server:latest
|
||||
container_name: minetest-zerbitzaria
|
||||
environment:
|
||||
- USER_UID=1000
|
||||
- USER_GID=1000
|
||||
restart: unless-stopped
|
||||
#user: aitzol
|
||||
volumes:
|
||||
- ./data:/var/lib/minetest/:rw
|
||||
- ./conf:/etc/minetest/:rw
|
||||
|
||||
ports:
|
||||
- 30000:30000/udp
|
||||
|
@ -1,15 +0,0 @@
|
||||
#docker-compose.yaml
|
||||
server:
|
||||
image: registry.gitlab.com/minetest/minetest/server:latest
|
||||
container_name: minetest-zerbitzaria
|
||||
environment:
|
||||
- USER_UID=30000
|
||||
- USER_GID=30000
|
||||
restart: unless-stopped
|
||||
user: minetest
|
||||
volumes:
|
||||
- ./data:/var/lib/minetest/:rw
|
||||
- ./conf:/etc/minetest/:rw
|
||||
|
||||
ports:
|
||||
- 30000:30000/udp
|
3402
minetest.conf.example
Normal file
3402
minetest.conf.example
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user