Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/junnplus/activiti6-docker
unofficial Docker image for activiti with version 6.0.0
https://github.com/junnplus/activiti6-docker
activiti6 activiti6-docker docker dockerfile
Last synced: about 1 month ago
JSON representation
unofficial Docker image for activiti with version 6.0.0
- Host: GitHub
- URL: https://github.com/junnplus/activiti6-docker
- Owner: junnplus
- Created: 2019-10-13T05:00:24.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-15T04:14:34.000Z (about 5 years ago)
- Last Synced: 2024-05-01T14:27:51.850Z (8 months ago)
- Topics: activiti6, activiti6-docker, docker, dockerfile
- Language: Shell
- Homepage:
- Size: 8.79 KB
- Stars: 3
- Watchers: 2
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# activiti6-docker
## How to use this image
### Start a activiti6 instance
```
$ docker run --name activiti6 -d -p 8080:8080 junnplus/activiti6
```
you can customise using the following environment variables:
- `DB` The database type, option h2 / mysql, default to `h2`.
- `DB_DRIVER` The database driver for jdbc, default to `org.h2.Driver`.
- `DB_URL` The database url for jdbc, default to`jdbc:h2:/tmp/activiti6;AUTO_SERVER=TRUE`.
- `DB_USERNAME` The database username, default to `sa`.
- `DB_PASSWORD` The database password, default to empty.
- `DB_DIALECT` The dialect specifies the type of database used in hibernate, default to `org.hibernate.dialect.H2Dialect`.#### ...via `docker-compose`
example.yml for mysql:
```
version: '3.1'
services:
activiti6:
image: junnplus/activiti6
ports:
- "8080:8080"
environment:
- "DB=mysql"
- "DB_DRIVER=com.mysql.jdbc.Driver"
- "DB_URL=jdbc:mysql://mysql:3306/activiti6?characterEncoding=UTF-8"
- "DB_USERNAME=activiti6"
- "DB_PASSWORD=activiti6"
- "DB_DIALECT=org.hibernate.dialect.MySQLDialect"
depends_on:
- mysql
links:
- mysql
restart: always
mysql:
image: mysql:5.6
command: mysqld --character-set-server=utf8 --collation-server=utf8_unicode_ci
environment:
- "MYSQL_DATABASE=activiti6"
- "MYSQL_USER=activiti6"
- "MYSQL_PASSWORD=activiti6"
- "MYSQL_ROOT_PASSWORD=activiti6"
restart: always
```
### Accessing
you can access the activiti6 app on `http://localhost:8080`.