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

2024 10 25 rocketchat und tour2pdf #268

Merged
merged 2 commits into from
Nov 19, 2024
Merged
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
25 changes: 20 additions & 5 deletions group_vars/tools_2023/chat.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
rocketchat_test_version: 6.11.1
rocketchat_test_version: 6.13.0
rocketchat_test_root_url: https://chat-test.hamburg.adfc.de
rocketchat_test_mongodb_version: 5.0
rocketchat_test_mongodb_version: 6.0

rocketchat_live_version: 6.11.1
rocketchat_live_version: 6.13.0
rocketchat_live_root_url: https://chat.hamburg.adfc.de
rocketchat_live_mongodb_version: 5.0
rocketchat_live_mongodb_version: 6.0

docker_compose_project_rocketchat_test:
nodes:
Expand Down Expand Up @@ -69,9 +69,13 @@ docker_compose_project_rocket:
internal_port: 3000
hetzner_volumes:
- name: chat-mongo
size_gb: 20
size_gb: 30
location: nbg1
mount: /var/lib/docker/volumes/docker-rocket_mongodb_data
- name: chat-upload
size_gb: 20
location: nbg1
mount: /var/lib/docker/volumes/docker-rocket_rocket_uploads
backup_on_new_version:
- src: /var/lib/docker/volumes/docker-rocket_mongodb_data
hcloud_volume_prefix: backup_chat_mongo
Expand All @@ -84,6 +88,8 @@ docker_compose_project_rocket:
volumes:
mongodb_data:
driver: local
rocket_uploads:
driver: local
services:
rocketchat:
image: registry.rocket.chat/rocketchat/rocket.chat:{{ rocketchat_live_version }}
Expand All @@ -101,6 +107,8 @@ docker_compose_project_rocket:
- 3000
ports:
- "{{ adfc_internal_ip}}:3000:3000"
volumes:
- rocket_uploads:/app/uploads
mongodb:
image: docker.io/bitnami/mongodb:{{ rocketchat_live_mongodb_version }}
restart: unless-stopped
Expand All @@ -115,3 +123,10 @@ docker_compose_project_rocket:
MONGODB_ADVERTISED_HOSTNAME: mongodb
MONGODB_ENABLE_JOURNAL: true
ALLOW_EMPTY_PASSWORD: yes
# Wenn man von außen zugreifen will:
# ports:
# - 127.0.0.1:27017:27017
deploy:
resources:
limits:
cpus: '1.8'
27 changes: 27 additions & 0 deletions group_vars/tools_2023/tour2pdf.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
docker_compose_project_tour2pdf:
nodes:
- tools1.hamburg.adfc.de
- tools2.hamburg.adfc.de
domains:
- tour2pdf.hamburg.adfc.de
internal_port: 4000
compose_block:
version: "3"
services:
tour2pdf:
restart: unless-stopped
image: ghcr.io/adfc-hamburg/tour2pdf
#environment:
ports:
- "{{ adfc_internal_ip}}:4000:8000"
labels:
- "com.centurylinklabs.watchtower.scope=tour2pdf"
watchtower:
image: containrrr/watchtower
volumes:
- /root/.docker/config.json:/config.json:ro
- /var/run/docker.sock:/var/run/docker.sock:ro
# pruefe alle 12h = 43200 1200 Sec auf update
command: --interval 43200 --debug --scope=tour2pdf docker-tour2pdf-tour2pdf-1
labels:
- "com.centurylinklabs.watchtower.scope=tour2pdf"
Loading