Skip to content

Instantly share code, notes, and snippets.

Avatar

Denys Bushulyak Denys-Bushulyak

  • HaltenTech
  • Ukraine
View GitHub Profile
View machine.js
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@Denys-Bushulyak
Denys-Bushulyak / xdebug.ini
Created Oct 22, 2017
Configuration for debuging php from container
View xdebug.ini
error_log = /dev/stdout
log_errors = On
display_errors = On
display_startup_errors = On
error_reporting = -1
xdebug.remote_enable = On
xdebug.remote_autostart = On
xdebug.remote_host = 192.168.137.111 #Your pc network address
xdebug.remote_port = 9001
@Denys-Bushulyak
Denys-Bushulyak / docker-compose.debug.yaml
Created Oct 22, 2017
Xdebug docker container (or service at swarm) configuration
View docker-compose.debug.yaml
version: "2"
services:
application:
image: php
environment:
— PHP_IDE_CONFIG=serverName=app.local #this is main part. And yes this is whitout quotation marks - it's requiring - wroted by blood :).
@Denys-Bushulyak
Denys-Bushulyak / docker-stack.yml
Last active Dec 19, 2017
Nginx proxy docker swarm example
View docker-stack.yml
version: "3.3"
volumes:
proxy:
networks:
proxy_network:
backend_network: #For connection another stacks to proxy. Should be created manualy.
external: true