docker-compose.yml 339 B

12345678910111213141516171819202122
  1. services:
  2. sgi-web:
  3. build:
  4. context: .
  5. dockerfile: Dockerfile
  6. container_name: sgi-web
  7. volumes:
  8. - .:/var/www/html
  9. ports:
  10. - "8080:80"
  11. environment:
  12. - APACHE_DOCUMENT_ROOT=/var/www/html
  13. networks:
  14. - app-network
  15. networks:
  16. app-network:
  17. driver: bridge
  18. volumes:
  19. postgres_data: