Skip to content

Instantly share code, notes, and snippets.

@teknologist
Last active August 29, 2015 14:22
Show Gist options
  • Save teknologist/aec363604a952bfc2ef4 to your computer and use it in GitHub Desktop.
Save teknologist/aec363604a952bfc2ef4 to your computer and use it in GitHub Desktop.
eXo platform using mysql with docker compose
exodata:
restart: on-failure:5
image: teknologist/exo-data
mysqldata:
restart: on-failure:5
image: teknologist/mysql-docker-data
mysql:
restart: on-failure:5
image: mysql/mysql-server:latest
environment:
MYSQL_DATABASE: exo
MYSQL_USER: exo
MYSQL_PASSWORD: changeme
MYSQL_ROOT_PASSWORD: changeme
volumes_from:
- mysqldata
exoplf:
restart: on-failure:5
ports:
- 8080:8080/tcp
image: teknologist/ubuntu-jdk7-exo-mysql
environment:
MYSQL_DATABASE: exo
MYSQL_USER: exo
MYSQL_PASSWORD: changeme
links:
- mysql
volumes_from:
- exodata
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment