1 Commits

Author SHA1 Message Date
Nick Stokoe
5e04b2f056 snackpot.yml - open ports for terraria 2021-12-03 17:59:35 +00:00
4 changed files with 25 additions and 23 deletions

View File

@@ -32,6 +32,10 @@
- "5555"
# icecast
- "8000"
# terraria
- "7777"
- "7778"
- "7779"
tasks:
- hostname:
@@ -59,21 +63,21 @@
vars:
ufw_allow: "{{ firewall_ports }}"
- include_role:
name: mrlesmithjr.netplan
apply: { become: true, tags: [netplan, network] }
tags: netplan, network
vars:
netplan_enabled: true
netplan_configuration:
network:
version: 2
ethernets:
enp3s0:
addresses: [192.168.0.55/24]
gateway4: 192.168.0.1
nameservers:
addresses: [192.168.0.1]
# - include_role:
# name: mrlesmithjr.netplan
# apply: { become: true, tags: [netplan, network] }
# tags: netplan, network
# vars:
# netplan_enabled: true
# netplan_configuration:
# network:
# version: 2
# ethernets:
# enp3s0:
# addresses: [192.168.0.55/24]
# gateway4: 192.168.0.1
# nameservers:
# addresses: [192.168.0.1]
- include_role:
name: docker_compose

View File

@@ -1,8 +1,8 @@
#!/bin/sh
dc_dir={{ docker_compose_base_dir }}
nextcloud_base_dir=/var/www/html
nextcloud_data_dir=/var/www/data
nextcloud_base_dir={{ nextcloud_base_dir }}
nextcloud_data_dir={{ nextcloud_data_dir }}
postgres_db_user={{ postgres_db_user }}
nextcloud_db_user={{ nextcloud_db_user }}
nextcloud_db={{ nextcloud_db }}

View File

@@ -54,7 +54,7 @@ services:
- redis:/data
nextcloud:
image: nextcloud:24-fpm-alpine
image: nextcloud:22-fpm-alpine
restart: always
volumes:
- nextcloud_src:/var/www/html
@@ -74,13 +74,11 @@ services:
# test: ["CMD-SHELL", "wget -q --spider --proxy=off localhost:3000/health || exit 1"]
nextcloud_cron:
image: nextcloud:24-fpm-alpine
image: nextcloud:22-fpm-alpine
restart: always
volumes:
- nextcloud_src:/var/www/html
- nextcloud_data:/var/www/data
- minidlna_data:/var/www/ext/media
- /srv:/srv
entrypoint: /cron.sh
depends_on:
- postgres
@@ -162,7 +160,7 @@ services:
- MINIDLNA_INOTIFY=yes
- MINIDLNA_MEDIA_DIR_1=A,/media/audio
- MINIDLNA_MEDIA_DIR_2=V,/media/video
- MINIDLNA_FRIENDLY_NAME=MiniDLNA@Snackpot
- MINIDLNA_FRIENDLY_NAME=Snackpot
mopidy:
build: ./mopidy

View File

@@ -11,7 +11,7 @@
upnpip = 192.168.0.243
# media renderer parameters
friendlyname = UpMpdCli@Snackpot
friendlyname = Snackpot
#upnpav = 1
#openhome = 1
#lumincompat = 0