Preperations for setting up game picker 1.0

This commit is contained in:
2023-11-22 12:06:58 +10:00
parent c2ea96445d
commit a7fc6da2cb
10 changed files with 18 additions and 3 deletions

11
docker-compose.yml Normal file
View File

@@ -0,0 +1,11 @@
version: "3.3"
volumes:
networks:
services:
acronymbot:
build: ./src/py
volumes:
- "./src/py:/usr/app/src"

BIN
ledger.db

Binary file not shown.

5
plan.txt Normal file
View File

@@ -0,0 +1,5 @@
Microservices:
- Some sort of database for storing the data
- Image for the python code that runs the bot
- Something to interface the two, like sparkSQL for interacting with the database

View File

@@ -4,8 +4,7 @@ RUN pip install discord
WORKDIR /usr/app/src
COPY Acronymbot.py ./
COPY BlackJack.py ./
COPY Ledger.py ./
VOLUME /usr/app/src
# -v flag to mount to this volume. -v [from]:/usr/app/src
CMD [ "python", "./Acronymbot.py" ]