2018-12-27 15:10:55 +00:00
|
|
|
version: '3.5'
|
|
|
|
services:
|
2018-12-31 13:02:46 +00:00
|
|
|
app:
|
2018-12-27 15:10:55 +00:00
|
|
|
build:
|
|
|
|
context: .
|
2018-12-31 13:02:46 +00:00
|
|
|
dockerfile: services/nginx/Dockerfile
|
2018-12-27 15:10:55 +00:00
|
|
|
ports:
|
2019-01-02 01:02:29 +00:00
|
|
|
- ${PORT}:80
|
2019-01-02 01:20:51 +00:00
|
|
|
image: salix-app:${BRANCH_NAME}
|
2018-12-31 13:02:46 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
links:
|
|
|
|
- api
|
|
|
|
api:
|
|
|
|
build: .
|
2018-12-27 15:10:55 +00:00
|
|
|
environment:
|
2019-01-02 01:02:29 +00:00
|
|
|
NODE_ENV: ${NODE_ENV}
|
2018-12-27 15:10:55 +00:00
|
|
|
restart: unless-stopped
|
2019-01-02 01:20:51 +00:00
|
|
|
image: salix-api:${BRANCH_NAME}
|
2018-12-27 15:10:55 +00:00
|
|
|
volumes:
|
2019-01-02 00:31:41 +00:00
|
|
|
- /containers/salix:/etc/salix
|