diff --git a/BrackeysBot.sln b/BrackeysBot.sln index 7ce2a69..ed1ea0b 100644 --- a/BrackeysBot.sln +++ b/BrackeysBot.sln @@ -4,6 +4,12 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BrackeysBot", "BrackeysBot\ EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BrackeysBot.API", "BrackeysBot.API\BrackeysBot.API\BrackeysBot.API.csproj", "{3EDCF557-4FEC-472D-8F6D-F9D1B27D8D3A}" EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{47F517B7-8238-4328-9644-8F36A15FEC9E}" + ProjectSection(SolutionItems) = preProject + Dockerfile = Dockerfile + docker-compose.yaml = docker-compose.yaml + EndProjectSection +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU diff --git a/BrackeysBot/Dockerfile b/Dockerfile similarity index 100% rename from BrackeysBot/Dockerfile rename to Dockerfile diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..5d3ee10 --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,18 @@ +version: '3.9' +services: + brackeysbot: + container_name: BrackeysBot + build: . + volumes: + - type: bind + source: ./plugins + target: /app/plugins + - type: bind + source: ./libraries + target: /app/libraries + - type: bind + source: ./logs + target: /app/logs + restart: always + env_file: + - .env