Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added some files to stacks #27

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions sources/stacks/cryptpad.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# SPDX-FileCopyrightText: 2023 XWiki CryptPad Team <[email protected]> and contributors
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---
version: '3.8'

services:
cryptpad:
image: "cryptpad/cryptpad:version-5.5.0"
hostname: cryptpad

environment:
- CPAD_MAIN_DOMAIN=https://your-main-domain.com
- CPAD_SANDBOX_DOMAIN=https://your-sandbox-domain.com
- CPAD_CONF=/cryptpad/config/config.js

volumes:
- ./data/blob:/cryptpad/blob
- ./data/block:/cryptpad/block
- ./customize:/cryptpad/customize
- ./data/data:/cryptpad/data
- ./data/files:/cryptpad/datastore

ports:
- "3000:3000"
- "3001:3001"
- "3003:3003"

ulimits:
nofile:
soft: 1000000
hard: 1000000
18 changes: 18 additions & 0 deletions sources/stacks/terraria-server.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
services:
terraria-server:
# Github mirror: ghcr.io/hexlo/terraria-server-docker:latest
image: hexlo/terraria-server-docker:latest
container_name: terraria-server
restart: unless-stopped
stdin_open: true
tty: true
ports:
- 7779:7777
volumes:
- type: bind
source: ./Worlds
target: /root/.local/share/Terraria/Worlds
environment:
- world=/root/.local/share/Terraria/Worlds/newworld.wld
- password=hello
- motd="Welcome to my server! :)"
17 changes: 17 additions & 0 deletions sources/stacks/valheim-server-docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
version: "3"

services:
valheim:
image: ghcr.io/lloesche/valheim-server
cap_add:
- sys_nice
volumes:
- $HOME/valheim-server/config:/config
- $HOME/valheim-server/data:/opt/valheim
ports:
- "2456-2458:2456-2458/udp"
- "9001:9001/tcp"
env_file:
- $HOME/valheim-server/valheim.env
restart: always
stop_grace_period: 2m