Fix docker-compose.
This commit is contained in:
parent
8705cc2a95
commit
2673c351ba
|
@ -207,7 +207,8 @@ services:
|
||||||
- SQA_OPT_OUT=true
|
- SQA_OPT_OUT=true
|
||||||
volumes:
|
volumes:
|
||||||
- ./docker/kratos/config:/etc/config/kratos
|
- ./docker/kratos/config:/etc/config/kratos
|
||||||
- type: volume
|
-
|
||||||
|
type: volume
|
||||||
source: kratos-sqlite
|
source: kratos-sqlite
|
||||||
target: /var/lib/sqlite
|
target: /var/lib/sqlite
|
||||||
read_only: false
|
read_only: false
|
||||||
|
@ -235,11 +236,13 @@ services:
|
||||||
command: serve -c /etc/config/kratos/kratos.yml
|
command: serve -c /etc/config/kratos/kratos.yml
|
||||||
volumes:
|
volumes:
|
||||||
- ./docker/kratos/config:/etc/config/kratos
|
- ./docker/kratos/config:/etc/config/kratos
|
||||||
- type: volume
|
-
|
||||||
|
type: volume
|
||||||
source: kratos-sqlite
|
source: kratos-sqlite
|
||||||
target: /var/lib/sqlite
|
target: /var/lib/sqlite
|
||||||
read_only: false
|
read_only: false
|
||||||
- type: bind
|
-
|
||||||
|
type: bind
|
||||||
source: ./.kratos.yml
|
source: ./.kratos.yml
|
||||||
target: /etc/config/kratos/kratos.yml
|
target: /etc/config/kratos/kratos.yml
|
||||||
networks:
|
networks:
|
||||||
|
|
|
@ -6,12 +6,7 @@ ENV GOARCH amd64
|
||||||
|
|
||||||
WORKDIR /root
|
WORKDIR /root
|
||||||
|
|
||||||
RUN apt-get update && \
|
RUN go get -d -u github.com/NebulousLabs/skynet-accounts/... && \
|
||||||
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/... && \
|
|
||||||
ln -s $GOPATH/src/github.com/NebulousLabs/skynet-accounts ./ && \
|
ln -s $GOPATH/src/github.com/NebulousLabs/skynet-accounts ./ && \
|
||||||
cd $GOPATH/src/github.com/NebulousLabs/skynet-accounts && \
|
cd $GOPATH/src/github.com/NebulousLabs/skynet-accounts && \
|
||||||
make release && \
|
make release && \
|
||||||
|
|
Reference in New Issue