dev env
This commit is contained in:
parent
cb51d35032
commit
80436291bf
30
docker-compose.yml
Normal file
30
docker-compose.yml
Normal 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: {}
|
Loading…
x
Reference in New Issue
Block a user