Skip to content
Snippets Groups Projects
Verified Commit ce3af519 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Minor fixes to docker setup

parent 6e6d874f
No related branches found
No related tags found
No related merge requests found
...@@ -36,6 +36,7 @@ services: ...@@ -36,6 +36,7 @@ services:
- C_FORCE_ROOT=true - C_FORCE_ROOT=true
- "DATABASE_URL=postgresql://postgres@postgres/postgres" - "DATABASE_URL=postgresql://postgres@postgres/postgres"
- "CACHE_URL=redis://redis:6379/0" - "CACHE_URL=redis://redis:6379/0"
- "FUNKWHALE_URL=http://funkwhale.test"
volumes: volumes:
- ./api:/app - ./api:/app
- ./data/music:/music - ./data/music:/music
...@@ -54,6 +55,7 @@ services: ...@@ -54,6 +55,7 @@ services:
- "DJANGO_SECRET_KEY=dev" - "DJANGO_SECRET_KEY=dev"
- "DATABASE_URL=postgresql://postgres@postgres/postgres" - "DATABASE_URL=postgresql://postgres@postgres/postgres"
- "CACHE_URL=redis://redis:6379/0" - "CACHE_URL=redis://redis:6379/0"
- "FUNKWHALE_URL=http://funkwhale.test"
links: links:
- postgres - postgres
- redis - redis
......
...@@ -3,8 +3,7 @@ FROM node:9 ...@@ -3,8 +3,7 @@ FROM node:9
EXPOSE 8080 EXPOSE 8080
WORKDIR /app/ WORKDIR /app/
ADD package.json . ADD package.json .
RUN yarn install --only=production RUN yarn install
RUN yarn install --only=dev
VOLUME ["/app/node_modules"] VOLUME ["/app/node_modules"]
COPY . . COPY . .
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment