Update #8

Merged
BachoSeven merged 1 commits from dev into main 2 years ago

@ -7,8 +7,6 @@ steps:
volumes:
- name: docker-socket
path: /var/run/docker.sock
- name: data
path: /app/data.local
environment:
BASE_URL: "/problemi/"
DATABASE_PATH: "data.local/db.local.json"
@ -31,7 +29,7 @@ steps:
commands:
- docker build --build-arg BASE_URL="$BASE_URL" -t problemi .
- docker rm -f problemi
- docker run -e DATABASE_PATH -e OAUTH_CLIENT_ID -e OAUTH_CLIENT_SECRET -e OAUTH_AUTH_URL -e OAUTH_TOKEN_HOST -e OAUTH_TOKEN_PATH -e OAUTH_REDIRECT_URL -e OAUTH_USER_INFO_URL -e OAUTH_SCOPES -d -p 127.240.211.76:1112:3000 --restart always --name problemi problemi
- docker run -v /var/lib/problemi:/app/data.local -e DATABASE_PATH -e OAUTH_CLIENT_ID -e OAUTH_CLIENT_SECRET -e OAUTH_AUTH_URL -e OAUTH_TOKEN_HOST -e OAUTH_TOKEN_PATH -e OAUTH_REDIRECT_URL -e OAUTH_USER_INFO_URL -e OAUTH_SCOPES -d -p 127.240.211.76:1112:3000 --restart always --name problemi problemi
trigger:
branch:
@ -43,6 +41,3 @@ volumes:
- name: docker-socket
host:
path: /var/run/docker.sock
- name: data
host:
path: /var/lib/problemi

Loading…
Cancel
Save