Public | Automated Build

Last pushed: 2 years ago
Short Description
Docker builds
Full Description
  • [Introduction]

Step 1. Launch a postgresql container

docker run --name gitlab-postgresql -d \
    --env 'DB_NAME=gitlabhq_production' \
    --env 'DB_USER=gitlab' --env 'DB_PASS=password' \
    --volume /srv/docker/gitlab/postgresql:/var/lib/postgresql \
    sameersbn/postgresql:9.4-14
docker run --name some-mysql -d \
    -v /srv/docker/alquilerjoven/mysql:/var/lib/mysql \
    -e MYSQL_ROOT_PASSWORD=my-secret-pw \
    mysql:tag
docker run --rm -e JAVA_OPTS='-DRESOURCE_NAME=jdbc/TestDB -DBBDD_CONNECTION_PASSWORD -DBBDD_CONNECTION_USERNAME  \
        -Djdbc.url=jdbc:mysql:mysqlhost:3306/' \     tomcat
Docker Pull Command
Owner
jmar5439
Source Repository

Comments (0)