update compose files

master
lza_menace 1 year ago
parent 18f958be04
commit 6f6b971b9d

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

@ -20,7 +20,7 @@ services:
LWS_URL: http://127.0.0.1:8080
LWS_ADMIN_URL: http://127.0.0.1:8081
QUART_ENV: production
HOST: 127.0.0.1
HOST: 0.0.0.0
DEBUG: 0
network_mode: host
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