Skip to content

Commit

Permalink
assemblee api initial config
Browse files Browse the repository at this point in the history
  • Loading branch information
Asone committed Aug 1, 2018
1 parent 67d7451 commit 7cd08bd
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
16 changes: 16 additions & 0 deletions _provisioning/an-api/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
FROM node:alpine

LABEL AUTHOR="Nelson Herbin <[email protected]>"
LABEL NAME=tricoteuses-an-api
LABEL VERSION=1

RUN apk update && apk upgrade && \
apk add --no-cache git nodejs bash cargo

RUN git clone https://framagit.org/tricoteuses/tricoteuses-api-assemblee

WORKDIR tricoteuses-api-assemblee

RUN npm install --verbose

# using api port specified in ui config
9 changes: 9 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,15 @@ services:
volumes:
- ./_data/:/data

assemblee:
build:
context: ./_provisioning/an-api
command: cargo build
volumes:
- ./_data:/data
depends_on:
- db

volumes:
pgdata:
_dumps:
Expand Down

0 comments on commit 7cd08bd

Please sign in to comment.