|
@@ -2,12 +2,13 @@ version: "3.9"
|
|
services:
|
|
services:
|
|
web:
|
|
web:
|
|
container_name: web
|
|
container_name: web
|
|
- image: nginx:latest
|
|
|
|
ports:
|
|
ports:
|
|
- "80:80"
|
|
- "80:80"
|
|
volumes:
|
|
volumes:
|
|
- .:/application:rw
|
|
- .:/application:rw
|
|
- ./docker/nginx/site.conf:/etc/nginx/conf.d/default.conf:ro
|
|
- ./docker/nginx/site.conf:/etc/nginx/conf.d/default.conf:ro
|
|
|
|
+ build:
|
|
|
|
+ context: './docker/nginx/'
|
|
links:
|
|
links:
|
|
- db
|
|
- db
|
|
- php
|
|
- php
|
|
@@ -28,4 +29,5 @@ services:
|
|
context: './docker/php/'
|
|
context: './docker/php/'
|
|
links:
|
|
links:
|
|
- db
|
|
- db
|
|
|
|
+
|
|
|
|
|