Advertisement
danrmejia

Untitled

Sep 29th, 2021
3,952
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.68 KB | None | 0 0
  1. version: '3.8'
  2. services:
  3.   sql-server-db:
  4.     container_name: sql-server-db
  5.     image: mcr.microsoft.com/mssql/server:2017-latest
  6.     ports:
  7.      - "1433:1433"
  8.     environment:
  9.       SA_PASSWORD: "Pass@word"
  10.       ACCEPT_EULA: "Y"
  11.   php:
  12.     container_name: php
  13.     build:
  14.       context: ./php
  15.     ports:
  16.      - '9000:9000'
  17.     volumes:
  18.      - ./app:/var/www/symfony_docker
  19.     depends_on:
  20.      - sql-server-db
  21.   nginx:
  22.     container_name: nginx
  23.     image: nginx:stable-alpine
  24.     ports:
  25.      - '8080:80'
  26.     volumes:
  27.      - ./app:/var/www/symfony_docker
  28.       - ./nginx/default.conf:/etc/nginx/conf.d/default.conf
  29.     depends_on:
  30.      - php
  31.       - sql-server-db
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement