Add a Linux tips section and move Docker stacks to /srv/docker
This commit is contained in:
@@ -29,11 +29,12 @@ Arcane needs access to the Docker socket to manage containers, which is effectiv
|
||||
---
|
||||
tree:
|
||||
/:
|
||||
- docker:
|
||||
- arcane:
|
||||
- compose.yaml
|
||||
- .env
|
||||
- data/
|
||||
- srv:
|
||||
- docker:
|
||||
- arcane:
|
||||
- compose.yaml
|
||||
- .env
|
||||
- data/
|
||||
---
|
||||
::
|
||||
|
||||
@@ -61,7 +62,7 @@ services:
|
||||
env_file:
|
||||
- .env
|
||||
volumes:
|
||||
- /docker/arcane/data:/app/data
|
||||
- /srv/docker/arcane/data:/app/data
|
||||
networks:
|
||||
- arcane-internal
|
||||
ports:
|
||||
@@ -200,7 +201,7 @@ In the Swag folders, create the file `arcane.subdomain.conf`:
|
||||
::
|
||||
|
||||
```bash [Terminal]
|
||||
sudo nano /docker/swag/config/nginx/proxy-confs/arcane.subdomain.conf
|
||||
sudo nano /srv/docker/swag/config/nginx/proxy-confs/arcane.subdomain.conf
|
||||
```
|
||||
|
||||
Paste the following configuration:
|
||||
@@ -275,7 +276,7 @@ services:
|
||||
- MANAGER_API_URL=http://10.8.0.3:3552
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- /docker/arcane-agent/data:/app/data
|
||||
- /srv/docker/arcane-agent/data:/app/data
|
||||
```
|
||||
|
||||
::note
|
||||
|
||||
Reference in New Issue
Block a user