This commit is contained in:
BuckarooBanzay 2024-01-21 11:34:55 +01:00
parent cb51d35032
commit 80436291bf

30
docker-compose.yml Normal file
View File

@ -0,0 +1,30 @@
version: "3.6"
services:
web_ui:
image: node:19.2.0-alpine3.15
volumes:
- "./:/app"
working_dir: /app/public
command: ["npm", "ci"]
web:
image: golang:1.21.6
environment:
WEBDEV: "true"
ports:
- 8080:8080
volumes:
- "./:/app"
- "go_dir:/go"
- "go_cache:/.cache"
working_dir: /app
command: ["go", "run", "."]
minetest:
image: registry.gitlab.com/minetest/minetest/server:5.7.0
user: root
volumes:
go_cache: {}
go_dir: {}