Skip to content
Snippets Groups Projects
Commit b5be0e66 authored by Nathan Rodet's avatar Nathan Rodet
Browse files

Added configuration

parent 61773be7
No related branches found
No related tags found
6 merge requests!6End of development,!5Develop,!4End of development,!3Develop,!2hot-fix: change readme.md,!1Develop
Pipeline #49168 passed
#!/bin/bash
docker stop webtop
docker rm webtop
docker run -d \
--name=webtop \
--security-opt seccomp=unconfined \
-e PUID=0 \
-e PGID=0 \
-e TZ=Europe/Paris \
-e SUBFOLDER=/ \
-e KEYBOARD=fr-fr-azerty \
-e AUTO_LOGIN=false \
-p 80:3000 \
-v /root/webtop_data/:/config \
-v /var/run/docker.sock:/var/run/docker.sock \
--shm-size="8gb" \
--cap-add=NET_ADMIN \
--privileged \
--restart unless-stopped \
--sysctl net.ipv6.conf.all.disable_ipv6=0 \
lscr.io/linuxserver/webtop:ubuntu-xfce
......@@ -40,10 +40,10 @@ runcmd:
- "curl -fsSL https://get.docker.com -o get-docker.sh"
- "sh get-docker.sh"
# Setup Atrium
- "mkdir -p /root/data/letsencrypt_cache && mkdir /root/app"
- "cp -f /root/atrium.yaml /root/data/app/atrium.yaml"
- "mkdir -p /root/data/letsencrypt_cache && mkdir -p /root/app/data"
- "cp -f -r /root/atrium.yaml /root/app/data/atrium.yaml && rm /root/atrium.yaml"
# Run Atrium Container
- "docker run -d --name atrium --net=host -v /root/atrium.yaml:/app/atrium.yaml -v /root/GeoLite2-City.mmdb:/app/GeoLite2-City.mmdb -v /root/letsencrypt_cache:/app/letsencrypt_cache -v /root/data:/app/data nicolaspernoud/atrium:latest"
- "docker run -d --name atrium --net=host -v /root/app/data/atrium.yaml:/app/atrium.yaml -v /root/app/data/GeoLite2-City.mmdb:/app/GeoLite2-City.mmdb -v /root/app/data/letsencrypt_cache:/app/letsencrypt_cache -v /root/data:/app/data nicolaspernoud/atrium:latest"
# Install Code Server
- "curl -fsSL https://code-server.dev/install.sh | sh"
- "mkdir -p /root/.config/code-server/"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment