Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3.2'
- volumes:
- pg-data:
- services:
- php-transru:
- build: ./www
- container_name: "php.transru"
- volumes:
- - type: bind
- source: ./www
- target: /var/www/html
- - /var/www/html/vendor
- - /var/www/html/node_modules
- environment:
- - XDEBUG_CONFIG='idekey=xdebug; xdebug.remote_host=192.168.0.115'
- nginx-transru:
- build: ./www/config/docker/nginx/
- container_name: "nginx.transru"
- ports:
- - 60000:80
- volumes:
- - type: bind
- source: ./
- target: /var/www/html/
- postgres-transru:
- image: postgres:9.3.22-alpine
- container_name: "postgresa.transru"
- environment:
- - POSTGRES_DB=trans_ru_db
- - POSTGRES_USER=user
- - POSTGRES_PASSWORD=password
- volumes:
- - pg-data:/var/lib/postgresql/data
- reactjs-transru:
- build: ./trans.ru_spa
- container_name: "reactjs.transru"
- ports:
- - 60001:80
- - 6001:6001
- - 8181:8181
- volumes:
- - type: bind
- source: ./trans.ru_spa
- target: /usr/src/app
- - /usr/src/app/node_modules
- command: ["npm", "run", "client:start"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement