first commit
This commit is contained in:
commit
b7432e8ee0
6
Dockerfile
Normal file
6
Dockerfile
Normal file
@ -0,0 +1,6 @@
|
||||
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
|
33
docker-compose.yaml
Normal file
33
docker-compose.yaml
Normal file
@ -0,0 +1,33 @@
|
||||
#docker-compose.yaml
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
irudi:
|
||||
#build: .
|
||||
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
|
||||
volumes:
|
||||
- ./data:/var/lib/minetest/:rw
|
||||
#- ./conf:/etc/minetest/:rw
|
||||
|
||||
ports:
|
||||
- 30000:30000/udp
|
||||
|
25
docker-compose.yaml.builder
Normal file
25
docker-compose.yaml.builder
Normal file
@ -0,0 +1,25 @@
|
||||
#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
|
||||
|
25
docker-compose.yaml.builder2
Normal file
25
docker-compose.yaml.builder2
Normal file
@ -0,0 +1,25 @@
|
||||
#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
|
||||
|
15
docker-compose.yaml.kopia
Normal file
15
docker-compose.yaml.kopia
Normal file
@ -0,0 +1,15 @@
|
||||
#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
|
Loading…
Reference in New Issue
Block a user