diff --git a/.gitea/template b/.gitea/template new file mode 100644 index 0000000..d598201 --- /dev/null +++ b/.gitea/template @@ -0,0 +1,2 @@ +# Use template filling in these files: +docker-compose.yaml diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..e69de29 diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..10e47e5 --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,19 @@ +version: '3.1' +name: ${REPO_NAME} +services: + bot: + container_name: discord_bot + build: ${REPO_LINK} + restart: always + environment: + # These will read from the .env file + # (They need double $ to escape from the templating (i think)) + DISCORD_INTENTS: $${DISCORD_INTENTS} + DISCORD_TOKEN: $${DISCORD_TOKEN} + DISCORD_ID: $${DISCORD_ID} + redis: + container_name: redis_db + image: redis + restart: always + ports: + - 6379:6379