Adding magneticod-python configuration draft.
This commit is contained in:
parent
23f4b71d9f
commit
c712119dfe
6
magneticod-python/.env.dist
Normal file
6
magneticod-python/.env.dist
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
# see https://cloud.docker.com/repository/docker/skobkin/magneticod-python
|
||||||
|
MAGNETICO_PORT=64879
|
||||||
|
|
||||||
|
# docker-compose substitution
|
||||||
|
HOST_DB_PATH=/root/.local/share/magneticod
|
||||||
|
HOST_USER=0
|
1
magneticod-python/.gitignore
vendored
Normal file
1
magneticod-python/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
.env
|
14
magneticod-python/docker-compose.yml
Normal file
14
magneticod-python/docker-compose.yml
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
version: '3.7'
|
||||||
|
|
||||||
|
services:
|
||||||
|
magneticod:
|
||||||
|
image: skobkin/magneticod-python:latest
|
||||||
|
container_name: magneticod-python
|
||||||
|
ports:
|
||||||
|
- "${MAGNETICO_PORT}:${MAGNETICO_PORT}/udp"
|
||||||
|
env_file: .env
|
||||||
|
volumes:
|
||||||
|
- "${HOST_DB_PATH}:/data"
|
||||||
|
user: "${HOST_USER}"
|
||||||
|
restart: unless-stopped
|
||||||
|
command: "--node-addr 0.0.0.0:${MAGNETICO_PORT} --database-file /data/database.sqlite3"
|
Loading…
Reference in a new issue