mirror of
https://forge.murkfall.net/bluesaxman/old_murkfall_playbooks.git
synced 2026-03-13 02:34:20 -06:00
Initial Archival Commit of all playbooks
This commit is contained in:
35
playbooks/media/90-emulationjs_play
Normal file
35
playbooks/media/90-emulationjs_play
Normal file
@@ -0,0 +1,35 @@
|
||||
---
|
||||
- hosts: localhost
|
||||
tasks:
|
||||
- name: Create emulationjs config volume
|
||||
docker_volume:
|
||||
name: emulationjs_config
|
||||
|
||||
- name: Create emulationjs data volume
|
||||
docker_volume:
|
||||
name: emulationjs_data
|
||||
|
||||
- name: Create network interfaces 1/2
|
||||
command: /usr/bin/ip addr add 192.168.1.62/24 dev enp2s0
|
||||
ignore_errors: True
|
||||
|
||||
- name: Start emulationjs
|
||||
docker_container:
|
||||
name: emulationjs
|
||||
hostname: emulationjs
|
||||
recreate: yes
|
||||
image: linuxserver/emulatorjs:latest
|
||||
ports:
|
||||
- "192.168.1.62:3000:3000"
|
||||
- "192.168.1.62:80:80"
|
||||
- "192.168.1.62:4001:4001"
|
||||
volumes:
|
||||
- emulationjs_config:/config
|
||||
- emulationjs_data:/data
|
||||
env:
|
||||
PUID=1000
|
||||
PGID=1000
|
||||
TZ=US/Mountain
|
||||
memory: 4G
|
||||
container_default_behavior: compatibility
|
||||
restart_policy: unless-stopped
|
||||
Reference in New Issue
Block a user