Initial commit.
This commit is contained in:
23
docker-compose.yml
Normal file
23
docker-compose.yml
Normal 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:
|
||||
Reference in New Issue
Block a user