update compose files

master
lza_menace 1 year ago
parent 18f958be04
commit 6f6b971b9d

@ -12,13 +12,12 @@ volumes:
services: services:
monero-lws: monero-lws:
container_name: monero-lws container_name: monero-lws
build: image: lalanza808/monero-lws:develop
context: monero-lws # build:
dockerfile: Dockerfile # context: monero-lws
args: # dockerfile: Dockerfile
MONERO_BRANCH: release-v0.18 # args:
MONERO_COMMIT_HASH: 2f45d5c615492dffa456489d73543870e5a224ab # NPROC: 16
NPROC: 4
restart: unless-stopped restart: unless-stopped
depends_on: depends_on:
- monerod - monerod
@ -35,9 +34,10 @@ services:
<<: *log-config <<: *log-config
monerod: monerod:
container_name: monerod container_name: monerod
build: image: lalanza808/monerod:v0.18.3.1
context: docker-monero-node/dockerfiles # build:
dockerfile: monero_nocompile # context: docker-monero-node/dockerfiles
# dockerfile: monero
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- ~/.bitmonero:/srv/monerod - ~/.bitmonero:/srv/monerod

@ -20,7 +20,7 @@ services:
LWS_URL: http://127.0.0.1:8080 LWS_URL: http://127.0.0.1:8080
LWS_ADMIN_URL: http://127.0.0.1:8081 LWS_ADMIN_URL: http://127.0.0.1:8081
QUART_ENV: production QUART_ENV: production
HOST: 127.0.0.1 HOST: 0.0.0.0
DEBUG: 0 DEBUG: 0
network_mode: host network_mode: host
volumes: volumes:

@ -0,0 +1,21 @@
#!/bin/bash
# Build and tag container images for services
set -ex
VERSION="${1}"
DH_USER=lalanza808
# build monero-lws
cd monero-lws
HASH=$(git rev-parse HEAD)
LWS_HASH=${DH_USER}/monero-lws:${HASH}
LWS_DEV=${DH_USER}/monero-lws:develop
# bugging rn
docker build -t "${LWS_HASH}" .
docker tag "monero-lw_monero-lws:latest" "${LWS_DEV}"
docker tag "monero-lw_monero-lws:latest" "${LWS_HASH}"
docker push "${LWS_HASH}"
docker push "${LWS_DEV}"
cd ..
Loading…
Cancel
Save