Last active
March 9, 2018 22:23
-
-
Save ianibo/c5a9fc35992073103b02a341a8af0d93 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "2.0" | |
volumes: | |
pgdata: | |
mysqldata: | |
esdata: | |
virtuoso: | |
services: | |
# | |
# docker exec -it pg psql -u postgres | |
# | |
postgres: | |
container_name: pg | |
image: postgres:latest | |
restart: always | |
environment: | |
POSTGRES_USER: postgres | |
POSTGRES_PASSWORD: pa55w0rd | |
POSTGRES_DB: postgres | |
volumes: | |
- pgdata:/var/lib/postgresql/data | |
ports: | |
- 5432:5432 | |
mysql: | |
container_name: mysql | |
image: mariadb:latest | |
restart: always | |
environment: | |
MYSQL_ROOT_PASSWORD: example | |
volumes: | |
- mysqldata:/var/lib/mysql | |
# https://www.elastic.co/guide/en/elasticsearch/reference/5.6/docker.html | |
# https://github.com/k-int/KBPlusG3/blob/dev-integration/SETUP-ES-DOCKER.txt | |
es5: | |
container_name: es5 | |
image: docker.elastic.co/elasticsearch/elasticsearch:5.5.3 | |
restart: always | |
environment: | |
http.host: 0.0.0.0 | |
transport.host: 0.0.0.0 | |
cluster.name: kbplusg3 | |
ports: | |
- 9200:9200 | |
- 9300:9300 | |
volumes: | |
- esdata:/usr/share/elasticsearch/data | |
# Converted from | |
# docker run -d --restart always --hostname rabbitmq -p 15672:15672 -p 5672:5672 --name rabbitmq -e RABBITMQ_DEFAULT_USER=adm -e RABBITMQ_DEFAULT_PASS=admpass rabbitmq:management | |
rabbitmq: | |
container_name: rabbitmq | |
image: rabbitmq:management | |
restart: always | |
ports: | |
- 15672:15672 | |
- 5672:5672 | |
environment: | |
- RABBITMQ_DEFAULT_USER=adm | |
- RABBITMQ_DEFAULT_PASS=admpass | |
# https://github.com/tenforce/docker-virtuoso (7.2.4 is latest) | |
virtuoso: | |
container_name: virtuoso | |
image: tenforce/virtuoso:1.3.1-virtuoso7.2.4 | |
environment: | |
SPARQL_UPDATE: "true" | |
DEFAULT_GRAPH: "http://www.example.com/my-graph" | |
volumes: | |
- virtuoso:/data | |
ports: | |
- "8890:8890" | |
# adminer: | |
# image: adminer | |
# restart: always | |
# ports: | |
# - 8080:8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment