This folder contains all the files required to control Docker development environments for Skyra. Most of the meat of
the content is in the docker-compose.yml
file which has the info on which images can be build and as which containers
they would be ran. In order to easily control the docker-compose file there is a powershell, control.ps1
.
Skyra currently has the following microservices that can be dockerized:
- PostgreSQL Database
- Service name in docker-compose:
postgres
- Image used:
skyrabot/postgres:latest
- For more information see skyra-project/docker-images
- Service name in docker-compose:
- InfluxDB
- Service name in docker-compose:
influx
- Image used:
quay.io/influxdb/influxdb:2.0.0-beta
- For more information see influxdb
- Additional instructions
- After starting the InfluxDB container go to locahost:8285
- Create a user to your liking, ensuring you take note of the Organization name and Initial bucket name, you need those for the next two steps - The recommended value for Organization is:
Skyra-Project
- The recommended value for Initial bucket name is:analytics
- In the config file set the value of
INFLUX_ORG
to the value of the Organization name - In the config file set the value of
INFLUX_ORG_ANALYTICS_BUCKET
to the value of the Initial bucket name - Once on the InfluxDB homepage click the "Data" tab on the left sidebar
- Open the "Tokens" tab in the new view
- Click on your token, which should be YourUsername's Token (YourUsername being what you entered before as the username)
- Click the "Copy to clipboard" button then paste set that value for
INFLUX_TOKEN
in the config file
- Service name in docker-compose:
- Redis
- Service name in docker-compose:
redis
- Image used:
redis:alpine
- For more information see redis
- Service name in docker-compose:
- Hasteserver
- Service name in docker-compose:
hasteserver
- Image used:
skyrabot/haste-server:latest
- For more information see skyra-project/docker-images
- Service name in docker-compose: