Skip to content

Instantly share code, notes, and snippets.

@aeimer
aeimer / docker-compose.yml
Last active March 15, 2024 16:30
Setup OpenVPN with OpenVPN-Monitor and docker-compose
version: "2"
services:
openvpn:
image: kylemanna/openvpn
volumes:
- "./data:/etc/openvpn"
- "/etc/localtime:/etc/localtime:ro"
ports:
- "1194:1194/udp"
expose:
@aeimer
aeimer / knpu_oauth2.yaml
Last active November 2, 2021 09:14
KnpU oauth bundle in usage with special tenant for symfony
# Apply the configuration for 'azure', just with the generic type...
knpu_oauth2_client:
clients:
azure_ad:
# https://github.com/knpuniversity/oauth2-client-bundle#configuring-a-generic-provider
# We need to use the generic type instead of 'azure', so we can pass some extra options
type: generic
provider_class: TheNetworg\OAuth2\Client\Provider\Azure
client_class: KnpU\OAuth2ClientBundle\Client\Provider\AzureClient
# -- normal options --