You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
88 lines
2.5 KiB
YAML
88 lines
2.5 KiB
YAML
version: '3'
|
|
x-log-config: &log-config
|
|
logging:
|
|
driver: json-file
|
|
options:
|
|
max-size: "50m"
|
|
max-file: "5"
|
|
volumes:
|
|
lws:
|
|
mymonero:
|
|
lwsadmin:
|
|
services:
|
|
lwsadmin:
|
|
container_name: lwsadmin
|
|
image: lalanza808/lwsadmin:latest
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- monero-lws
|
|
environment:
|
|
LWS_URL: http://monero-lws:8080
|
|
LWS_ADMIN_URL: http://monero-lws:8081
|
|
QUART_ENV: production
|
|
HOST: 0.0.0.0
|
|
DEBUG: 0
|
|
SERVER_NAME: ${SERVER_NAME:-127.0.0.1:5000}
|
|
SECRET_KEY: ${SECRET_KEY:-thisisasecret}
|
|
volumes:
|
|
- lwsadmin:/srv/lwsadmin/data
|
|
user: "1000:1000"
|
|
command:
|
|
./.venv/bin/poetry run start
|
|
ports:
|
|
- 127.0.0.1:5000:5000
|
|
<<: *log-config
|
|
mymonero-web:
|
|
container_name: mymonero-web
|
|
image: lalanza808/mymonero-web-js:latest
|
|
restart: unless-stopped
|
|
environment:
|
|
MYMONERO_WEB_NETTYPE: 0
|
|
MYMONERO_WEB_SERVER_URL: http://localhost:8080/
|
|
MYMONERO_WEB_APP_NAME: LZAXMR
|
|
ports:
|
|
- 127.0.0.1:9110:80
|
|
volumes:
|
|
- mymonero:/app
|
|
<<: *log-config
|
|
monero-lws:
|
|
container_name: monero-lws
|
|
image: lalanza808/monero-lws:develop
|
|
# build:
|
|
# context: monero-lws
|
|
# dockerfile: Dockerfile
|
|
# args:
|
|
# NPROC: 16
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- monerod
|
|
ports:
|
|
- 127.0.0.1:8081:8081
|
|
- 127.0.0.1:8080:8080
|
|
expose:
|
|
- 8080/tcp
|
|
- 8081/tcp
|
|
volumes:
|
|
- lws:/home/monero-lws/.bitmonero/light_wallet_server
|
|
command:
|
|
--scan-threads 4 --rest-threads 4 --rest-server http://0.0.0.0:8080 --admin-rest-server http://0.0.0.0:8081 --log-level 1 --daemon=tcp://monerod:18082 --sub=tcp://monerod:18083 --confirm-external-bind --access-control-origin "*"
|
|
<<: *log-config
|
|
monerod:
|
|
container_name: monerod
|
|
image: lalanza808/monerod:v0.18.3.1
|
|
# build:
|
|
# context: docker-monero-node/dockerfiles
|
|
# dockerfile: monero
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ~/.bitmonero:/srv/monerod
|
|
expose:
|
|
- 18080/tcp
|
|
- 18081/tcp
|
|
- 18082/tcp
|
|
- 18083/tcp
|
|
- 18089/tcp
|
|
command:
|
|
monerod --data-dir /srv/monerod/ --p2p-bind-ip=0.0.0.0 --p2p-bind-port=18080 --rpc-bind-ip=0.0.0.0 --rpc-bind-port=18081 --zmq-rpc-bind-ip=0.0.0.0 --zmq-rpc-bind-port=18082 --zmq-pub tcp://0.0.0.0:18083 --rpc-restricted-bind-ip=0.0.0.0 --rpc-restricted-bind-port=18089 --non-interactive --confirm-external-bind --public-node
|
|
<<: *log-config
|