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

View File

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

View File

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

View File

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