Last active
February 21, 2018 14:34
-
-
Save richardsonlima/0b56f52675e890792fa127561c55585c to your computer and use it in GitHub Desktop.
This file contains hidden or 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' | |
services: | |
app: | |
image: richardsonlima/nginx:v1 | |
container_name: nginx-default | |
ports: | |
- 9000:80 | |
volumes: | |
- ./website:/usr/share/nginx/html | |
depends_on: | |
- db | |
db: | |
image: richardsonlima/alpine-mysqlserver:v2 | |
container_name: mysql-default | |
environment: | |
- MYSQL_USER=dbadminuser | |
- MYSQL_PASSWORD=JwYKj8tSnpyDFUdGuA==J | |
- MYSQL_DATABASE=admin | |
#- MYSQL_ALLOW_EMPTY_PASSWORD=yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment