Initial commit.

This commit is contained in:
Florian THIERRY
2022-05-22 12:51:19 +02:00
commit 56916a7970
6 changed files with 112 additions and 0 deletions

23
docker-compose.yml Normal file
View File

@@ -0,0 +1,23 @@
version: '3.6'
services:
nginx:
image: nginx:1.21.6
container_name: nginx
ports:
- '12345:80'
networks:
- my_app
volumes:
- './www:/usr/share/nginx/html:ro'
- './nginx.conf:/etc/nginx/nginx.conf:ro'
php:
image: php:8.1-fpm-alpine
container_name: php
networks:
- my_app
volumes:
- './www:/app:ro'
networks:
my_app: