-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make docker-compose yml file #3
Comments
Also would be helpful to use the networking flag... [file under TODO when this is ready compose feature is ready out of experimental] |
https://redcap.ci3.cl is ditributed in ec2 container (Amazon Web Service) with dockerfile, the next file is a docker-compose example for you redcap, is more fast and the dump is consumable from endpoint version: '2'
services:
redcap:
container_name: redcap
hostname: "redcap"
image: webdevops/php-nginx:7.0
ports:
- "80:80"
volumes:
- "./www:/app"
depends_on:
- mysql
mysql:
container_name: mysql_redcap
hostname: "mysql_redcap"
image: mysql:5.7
restart: always
environment:
MYSQL_ROOT_PASSWORD: redcap_pass
MYSQL_DATABASE: redcap_db
MYSQL_USER: redcap_user
MYSQL_PASSWORD: redcap_pass
volumes:
- data:/var/lib/mysql
- ./config/mysqld.cnf:/etc/mysql/mysql.conf.d/mysqld.cnf
- ./dump:/docker-entrypoint-initdb.d
volumes:
data:
an the next file is the configuration for you mysql instance:
|
Option to automate post build deploy step with docker-compose
The text was updated successfully, but these errors were encountered: