mirror of
https://github.com/threefoldtech/mycelium.git
synced 2026-03-28 23:29:51 +00:00
* Dockerfile
- Added
* Dockerfile
- Added build depedencies and upgrade system
* Create docker.yml
Signed-off-by: Tristan B. Velloza Kildaire <deavmi@redxen.eu>
* Dockerfile
- build the daemon and set entry point for running
* Dockerfile
- FIxed ptha
* d
* compose
- added initial docker compose file
* test
* Dockerfile
- Removed
* Added env file
Added more commands
* try copy now
* disable for now
* d
* d
* d
* d
* d
* d
* d
* DOckerfile
- try this
* Dockerfile
- Copy needs absolute path,
* d
* d
* d
* ss
* ockerfile
- Use seperate stage
* compose
- Add access to driver control file for making `tun` files (in whatever ns we are in)
- Added capability to allow just that
* Dockerfile
- Disable stage for nwo
* Revert "Dockerfile"
This reverts commit 2bb4ac697f.
* Dockerfile
- Cleaned up
* Added logging level selection
* Compose
- More can now be set
* Specify key file
* data dir
* d
* Compose
- Fixed
* d
* d
* d
* d
* j
* df
* d
* d
* d
* USe this rather
* d
* d
* Compose
- Cleaned up
* d
* d
* d
* d
* sd
* d
* d
* d
* j
* d
* finished
* clean edup
* d
* d
* okay that wont' work
* Dockerfile
- Use `--release` to remove debufg symvols
* Dockerfile
- Fixed path due to relese mode
* g
* i
* Log silenelty
---------
Signed-off-by: Tristan B. Velloza Kildaire <deavmi@redxen.eu>
24 lines
931 B
YAML
24 lines
931 B
YAML
services:
|
|
myceliumd:
|
|
# TODO: You can put image here now, may as well
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
container_name: myceliumd
|
|
restart: unless-stopped
|
|
network_mode: host
|
|
volumes:
|
|
# Data directory (keys)
|
|
- ${MYCELIUM_DATA_DIR}:/data:z
|
|
|
|
# Access to TUN/TAP control device node
|
|
- /dev/net/tun:/dev/net/tun:z
|
|
cap_add:
|
|
# Add capability for performing needed network
|
|
# manipulation via the `/dev/tun` in order to
|
|
# open tun adaptor
|
|
- NET_ADMIN
|
|
# user: ${USER_UID}:${USER_GID}
|
|
# Append the following to the entrypoint exec()
|
|
command: "--${MYCELIUM_LOG_OPTION:-debug} --key-file /data/private.key --peers ${MYCELIUM_PEERS_STRING:-\"\"} --quic-listen-port ${MYCELIUM_QUIC_PORT:-9651} --tcp-listen-port ${MYCELIUM_TCP_PORT:-9651} --peer-discovery-port ${MYCELIUM_PD_PORT:-9650} --tun-name ${MYCELIUM_TUN_IFNAME:-mycelium0}"
|