Many updates over time
This commit is contained in:
20
virt/arcane/files/compose.yml
Normal file
20
virt/arcane/files/compose.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
services:
|
||||
arcane:
|
||||
image: ghcr.io/getarcaneapp/arcane:latest
|
||||
container_name: arcane
|
||||
ports:
|
||||
- '3552:3552'
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- arcane-data:/app/data
|
||||
- /opt/projects:/app/data/projects
|
||||
environment:
|
||||
- APP_URL=http://arcane1.mreschke.net:3552
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- ENCRYPTION_KEY=FbAK6DaqI1EEA5bEWPyBLetsuY748DbqWzw4a3/q3G0=
|
||||
- JWT_SECRET=flLR6aTtJSQ+PgxlHW5pUrE6LlBwXxbnvwy5g4dFUS0=
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
arcane-data:
|
||||
32
virt/arcane/tasks/main.yml
Normal file
32
virt/arcane/tasks/main.yml
Normal file
@@ -0,0 +1,32 @@
|
||||
---
|
||||
|
||||
# Create /opt/arcane
|
||||
- name: Creating /opt/arcane
|
||||
file:
|
||||
path: /opt/arcane
|
||||
owner: "{{ superuser }}"
|
||||
group: "{{ supergroup }}"
|
||||
state: directory
|
||||
|
||||
# Create /opt/projects
|
||||
- name: Creating /opt/projects
|
||||
file:
|
||||
path: /opt/projects
|
||||
owner: "{{ superuser }}"
|
||||
group: "{{ supergroup }}"
|
||||
state: directory
|
||||
|
||||
# Copy Arcane docker compose file
|
||||
- name: Copying Arcane compose.yml
|
||||
copy:
|
||||
src: compose.yml
|
||||
dest: /opt/arcane/compose.yml
|
||||
owner: "{{ superuser }}"
|
||||
group: "{{ supergroup }}"
|
||||
mode: '0644'
|
||||
|
||||
# Docker compose up
|
||||
- name: Starting Arcane if not already running
|
||||
shell: "docker compose up -d"
|
||||
args:
|
||||
chdir: /opt/arcane
|
||||
Reference in New Issue
Block a user