mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Auto-commit on 2024-12-03 10:35:31 by pcx3
This commit is contained in:
@@ -70,6 +70,8 @@ services:
|
||||
- /etc/openpanel/openpanel/conf/knowledge_base_articles.json:/etc/openpanel/openpanel/conf/knowledge_base_articles.json
|
||||
# localization
|
||||
- /etc/openpanel/openpanel/translations/:/etc/openpanel/openpanel/translations/
|
||||
# emails
|
||||
- /usr/local/mail/openmail/:/usr/local/mail/openmail/
|
||||
network_mode: host
|
||||
mem_limit: 1g
|
||||
cpus: 1.0
|
||||
|
||||
30
configuration/docker/compose/ttyd-compose.yml
Normal file
30
configuration/docker/compose/ttyd-compose.yml
Normal file
@@ -0,0 +1,30 @@
|
||||
services:
|
||||
# WEB TERMINAL FOR OPENADMIN
|
||||
ttyd:
|
||||
image: tsl0922/ttyd
|
||||
container_name: ttyd
|
||||
#ports:
|
||||
# - "7681:7681"
|
||||
network_mode: "host"
|
||||
command: ttyd -o -W bash
|
||||
restart: no
|
||||
stdin_open: true
|
||||
tty: true
|
||||
volumes:
|
||||
- /sys/fs/cgroup:/sys/fs/cgroup
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- openadmin_mysql:/var/lib/mysql
|
||||
- /etc/:/etc/
|
||||
- /home/:/home/
|
||||
- /var/:/var/
|
||||
- /root/:/root/
|
||||
- /usr/local/bin/opencli:/usr/local/bin/opencli
|
||||
- /usr/local/csf:/usr/local/csf
|
||||
- /usr/sbin/:/usr/sbin/
|
||||
- /usr/bin/docker:/usr/bin/docker
|
||||
- /usr/bin/awk:/usr/bin/awk
|
||||
- /usr/local/admin/:/usr/local/admin/
|
||||
mem_limit: 1g
|
||||
cpus: 1.0
|
||||
oom_kill_disable: true
|
||||
privileged: true
|
||||
Reference in New Issue
Block a user