You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Download the [docker-compose file](https://github.com/SinusBot/docker/blob/master/docker-compose.yml) in it's own directory and start it with `docker-compose up`.
31
+
## Usage
36
32
37
33
### docker
38
34
@@ -72,6 +68,10 @@ This can be done as described in the following:
72
68
sinusbot/docker
73
69
```
74
70
71
+
### docker-compose
72
+
73
+
Download the [docker-compose file](docker-compose.yml) in it's own directory and start it with `docker-compose up`.
74
+
75
75
#### Tags
76
76
77
77
-`latest` is the default tag
@@ -130,14 +130,7 @@ To upgrade a container you need to remove and re-run it as shown below.
130
130
docker pull sinusbot/docker
131
131
```
132
132
133
-
3. Create a new container with your volumes.
134
-
135
-
```bash
136
-
docker run --rm -d -p 8087:8087 \
137
-
-v /opt/sinusbot/scripts:/opt/sinusbot/scripts \
138
-
-v /opt/sinusbot/data:/opt/sinusbot/data \
139
-
--name sinusbot sinusbot/docker
140
-
```
133
+
3. Create a new container with your volumes as described in the [usage](#usage) section above.
141
134
142
135
*It is also possible to automate this process by running [Watchtower](https://containrrr.github.io/watchtower/).*
143
136
@@ -224,3 +217,20 @@ networks:
224
217
mynetwork:
225
218
driver: bridge
226
219
```
220
+
221
+
## Development
222
+
223
+
### Deploy Version
224
+
225
+
To build and release a new version, clone this repository and run:
226
+
227
+
```bash
228
+
docker login
229
+
./release_as_latest.sh <VERSION>
230
+
```
231
+
232
+
Replace `<VERSION>` with the version, e.g. `1.0.0-beta.10-202ee4d`.
233
+
234
+
This will build and upload the following tags: `<VERSION>-discord`, `<VERSION>`, `discord`, `latest`
235
+
236
+
`./release_version.sh` does the same but without setting `discord`, `latest`.
0 commit comments