Skip to content

Instantly share code, notes, and snippets.

View EdouardCourty's full-sized avatar

Edouard Courty EdouardCourty

  • Edouard Courty
  • Paris, France
View GitHub Profile
name: 'PHP CI'
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "*" ]
jobs:
validate-dependencies:
<?php
namespace App\Schedule;
use Symfony\Component\Scheduler\Attribute\AsSchedule;
use Symfony\Component\Scheduler\RecurringMessage;
use App\Message\ExampleMessage;
#[AsSchedule('main')]
class MainScheduler implements ScheduleProviderInterface
version: '3.9'
services:
server:
build: .
container_name: 'project_server'
depends_on:
- database
volumes:
- .:/var/www/project:delegated
@EdouardCourty
EdouardCourty / docker-compose.yml
Created June 17, 2022 18:17
Portainer setup though docker-compose
version: '3.8'
services:
portainer:
image: portainer/portainer-ce:2.13.1
container_name: portainer
restart: unless-stopped
security_opt:
- no-new-privileges:true
volumes:
@EdouardCourty
EdouardCourty / docker-compose.yml
Last active June 11, 2022 21:02
EdouardCourty/symfony-docker/docker-compose.yml
version: '3.9'
services:
server:
build: .
container_name: 'project_server'
depends_on:
- database
volumes:
- .:/var/www/project
@EdouardCourty
EdouardCourty / docker-compose.yml
Created June 11, 2022 18:16
EdouardCourty/symfony-docker/docker-compose.yml
version: '3.9'
services:
server:
build: .
container_name: 'project_server'
depends_on:
- database
networks:
- project-network