add Dockerfile
This commit is contained in:
parent
b43b42e841
commit
8f121402b2
3
Dockerfile
Normal file
3
Dockerfile
Normal file
@ -0,0 +1,3 @@
|
||||
FROM erlang:25.3
|
||||
|
||||
CMD /data/njau_bot/bin/njau_bot foreground
|
||||
12
docker-compose.yml
Normal file
12
docker-compose.yml
Normal file
@ -0,0 +1,12 @@
|
||||
version: '3.6'
|
||||
|
||||
services:
|
||||
iot:
|
||||
container_name: njau_bot
|
||||
image: "njau_bot:1.0"
|
||||
hostname: 'njau_bot'
|
||||
restart: always
|
||||
ports:
|
||||
- "18085:18085/tcp"
|
||||
volumes:
|
||||
- /data/docker/njau_bot/:/data/njau/
|
||||
Loading…
x
Reference in New Issue
Block a user