Skip to content

Commit

Permalink
Create docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
emanuelpinheiro committed May 18, 2024
1 parent 935f342 commit 3f9beb0
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
services:
containerweb:
build:
dockerfile: ./nginx/Dockerfile
context: .
ports:
- "80:80"
networks:
- unitinsrede
volumes:
- ./aplicacao:/var/www/html
- ./nginx:/etc/nginx/http.d
depends_on:
- containerphp

containerphp:
image: php:8.3-fpm-alpine
networks:
- unitinsrede
volumes:
- ./aplicacao:/var/www/html

networks:
unitinsrede:
driver: bridge

0 comments on commit 3f9beb0

Please sign in to comment.