remove reference to .env file from docker-compose.yml
This commit is contained in:
parent
d4b927f0d4
commit
f7db48910c
2 changed files with 13 additions and 2 deletions
11
.travis.yml
11
.travis.yml
|
@ -1,3 +1,4 @@
|
|||
sudo: required
|
||||
language: node_js
|
||||
node_js:
|
||||
- "8.11.1"
|
||||
|
@ -10,3 +11,13 @@ before_install:
|
|||
- docker-compose up -d
|
||||
- docker ps -a
|
||||
|
||||
before_script:
|
||||
# Install dependencies in the app container
|
||||
- docker-compose exec -T app composer self-update
|
||||
- docker-compose exec -T app composer install --no-interaction
|
||||
- docker-compose exec -T app composer dump-autoload -o
|
||||
|
||||
script:
|
||||
# Run unit tests in the app container
|
||||
- docker-compose exec -T app npm run test --verbose
|
||||
|
||||
|
|
|
@ -15,8 +15,8 @@ services:
|
|||
context: .
|
||||
dockerfile: Dockerfile
|
||||
target: production
|
||||
env_file:
|
||||
- .env
|
||||
# env_file:
|
||||
# - .env
|
||||
environment:
|
||||
- MONGO_URL=mongodb://mongo:27017/p5js-web-editor
|
||||
# - API_URL=https://localhost/api
|
||||
|
|
Loading…
Reference in a new issue