Fix docker-compose.

This commit is contained in:
Ivaylo Novakov 2020-12-10 19:26:01 +01:00
parent 8705cc2a95
commit 2673c351ba
No known key found for this signature in database
GPG Key ID: 06B9354AB08BE9C6
2 changed files with 7 additions and 9 deletions

View File

@ -207,7 +207,8 @@ services:
- SQA_OPT_OUT=true
volumes:
- ./docker/kratos/config:/etc/config/kratos
- type: volume
-
type: volume
source: kratos-sqlite
target: /var/lib/sqlite
read_only: false
@ -235,11 +236,13 @@ services:
command: serve -c /etc/config/kratos/kratos.yml
volumes:
- ./docker/kratos/config:/etc/config/kratos
- type: volume
-
type: volume
source: kratos-sqlite
target: /var/lib/sqlite
read_only: false
- type: bind
-
type: bind
source: ./.kratos.yml
target: /etc/config/kratos/kratos.yml
networks:

View File

@ -6,12 +6,7 @@ ENV GOARCH amd64
WORKDIR /root
RUN apt-get update && \
apt-get -y dist-upgrade && \
apt-get -y autoremove && \
apt-get -y install python3-pip sudo wget curl zip vim nano nload psmisc less mime-support logrotate cron && \
apt-get clean && \
go get -d -u github.com/NebulousLabs/skynet-accounts/... && \
RUN go get -d -u github.com/NebulousLabs/skynet-accounts/... && \
ln -s $GOPATH/src/github.com/NebulousLabs/skynet-accounts ./ && \
cd $GOPATH/src/github.com/NebulousLabs/skynet-accounts && \
make release && \