Skip to content

Instantly share code, notes, and snippets.

@schmunk42
Forked from DavertMik/docker-conf.yml
Last active February 2, 2017 11:59
Show Gist options
  • Save schmunk42/d6893a64963509ff93daea80f722f694 to your computer and use it in GitHub Desktop.
Save schmunk42/d6893a64963509ff93daea80f722f694 to your computer and use it in GitHub Desktop.
# Codeception testing stack
# -------------------------
#
# Start stack
# - docker-compose up -d
# Check status, open in browser
# - docker-compose ps
# - open http://DOCKER_HOST:20080
# Create bash to bootstrap suites
# - docker-compose run --entrypoint bash codeception
# $ codecept bootstrap
version: '2'
services:
codeception:
image: codeception/codeception
volumes:
- ./:/project
firefox:
image: selenium/standalone-firefox-debug:2.53.0
ports:
- '4444'
- '5900'
# phd 4 - Instant demo stack
php:
command: 'run.sh'
image: phundament/app:4.2.0-rc2
depends_on:
- db
environment:
- APP_ADMIN_PASSWORD=admin
- DB_PORT_3306_TCP_ADDR=db
- DB_PORT_3306_TCP_PORT=3306
- DB_ENV_MYSQL_ROOT_PASSWORD=secretadmin
volumes:
- /app
nginx:
image: phundament/nginx-one:1.9
environment:
- FASTCGI_PASS_HOST=php
volumes_from:
- php
ports:
- 20080:80
db:
image: 'tutum/mariadb:10.1'
environment:
MARIADB_PASS: secretadmin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment