forked from javi11/altmount
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose-dev.yml
More file actions
29 lines (29 loc) · 962 Bytes
/
docker-compose-dev.yml
File metadata and controls
29 lines (29 loc) · 962 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
services:
altmount:
extra_hosts:
- "host.docker.internal:host-gateway" # Optional if you rclone is outside the container
build:
context: .
dockerfile: docker/Dockerfile
container_name: altmount
environment:
- PUID=1000
- PGID=1000
- PORT=8080
- JWT_SECRET=change-me-to-a-strong-random-secret # Required when login is enabled (auth.login_required: true)
- COOKIE_DOMAIN=localhost # Must match the domain/IP where web interface is accessed
volumes:
- ./config:/config
- ./mnt:/mnt:rshared
- /var/run/docker.sock:/var/run/docker.sock # Required for the auto-update feature
group_add:
- "999" # GID of the docker group on the host (run `getent group docker | cut -d: -f3` to find yours)
ports:
- "8080:8080"
restart: unless-stopped
devices:
- /dev/fuse:/dev/fuse:rwm
cap_add:
- SYS_ADMIN
security_opt:
- apparmor:unconfined