Skip to content

Instantly share code, notes, and snippets.

View FaHuSchmidt's full-sized avatar

Fabian Schmidt FaHuSchmidt

View GitHub Profile
@FaHuSchmidt
FaHuSchmidt / readme.md
Created November 4, 2017 10:19
wrapper script for serving a symfony application with docker

This script can be used to serv a symfony application at your current work dir without the need of having php installed locally.

The only requirement is a running Docker instance.

Basic usage:

Uses 8000 as public port and my-project as container name.

./run
@FaHuSchmidt
FaHuSchmidt / composer
Last active November 4, 2017 10:20
wrapper script for using composer with Docker
#!/usr/bin/env bash
tty=
tty -s && tty=--tty
docker run \
$tty \
--interactive \
--rm \
--user $(id -u):$(id -g) \
--volume /etc/passwd:/etc/passwd:ro \
@FaHuSchmidt
FaHuSchmidt / symfony_project_docker.md
Last active November 9, 2018 14:41
Create Symfony project with Docker

Create a Symfony project

...with Docker as only dependency.

No local installations of PHP or composer needed!

This example uses Symfony Flex and symfony/skeleton which contains just the minimum parts of a Symfony project. You'll find further informations at Symfony docs: https://symfony.com/doc/current/setup/flex.html

Create project via composer

@FaHuSchmidt
FaHuSchmidt / readme.md
Last active August 1, 2022 07:02
1&1 Webhosting SSH-Zugang

SSH-Verbindung mit Benutzername und Passwort aufbauen

ssh [user]@[host]

Passwort bei Aufforderung eingeben

SSH-Ordner im Benutzerverzeichnis anlegen