diff --git a/build.sh b/build.sh deleted file mode 100755 index 319fd72..0000000 --- a/build.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - - docker build -t ubuntu-server . \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..2c1af85 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,13 @@ +version: '3.2' + +services: + server: + build: ./v1 + container_name: ubuntu-server + restart: always + ports: + - '8090:80' + - '22:22' + - '22222:22222' + volumes: + - "./v1/keys/:/home/ubuntu/" \ No newline at end of file diff --git a/run.sh b/run.sh deleted file mode 100755 index ce84047..0000000 --- a/run.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -docker run -d -p 22:22 -p 8090:80 22222:22222 --name ubuntu-server -d ubuntu-server \ No newline at end of file diff --git a/Dockerfile b/v1/Dockerfile similarity index 100% rename from Dockerfile rename to v1/Dockerfile