Minor fixes to docker setup

merge-requests/154/head
Eliot Berriot 2018-03-02 00:14:55 +01:00
rodzic 6e6d874f3a
commit ce3af5194f
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: DD6965E2476E5C27
2 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -36,6 +36,7 @@ services:
- C_FORCE_ROOT=true
- "DATABASE_URL=postgresql://postgres@postgres/postgres"
- "CACHE_URL=redis://redis:6379/0"
- "FUNKWHALE_URL=http://funkwhale.test"
volumes:
- ./api:/app
- ./data/music:/music
@ -54,6 +55,7 @@ services:
- "DJANGO_SECRET_KEY=dev"
- "DATABASE_URL=postgresql://postgres@postgres/postgres"
- "CACHE_URL=redis://redis:6379/0"
- "FUNKWHALE_URL=http://funkwhale.test"
links:
- postgres
- redis

Wyświetl plik

@ -3,8 +3,7 @@ FROM node:9
EXPOSE 8080
WORKDIR /app/
ADD package.json .
RUN yarn install --only=production
RUN yarn install --only=dev
RUN yarn install
VOLUME ["/app/node_modules"]
COPY . .