Skip to content

Commit 8067a5f

Browse files
Update docker-compose.yml
1 parent 55c2250 commit 8067a5f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

docker-compose.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@ version: '3.8'
22

33
services:
44
web:
5-
build: .
5+
build:
6+
context: .
7+
args:
8+
USER_UID: ${USER_UID:-1000}
9+
USER_GID: ${USER_GID:-1000}
10+
image: ghcr.io/${GITHUB_USERNAME}/directadmin-email-forwarder:latest
611
ports:
712
- "5000:5000"
813
environment:
@@ -12,6 +17,8 @@ services:
1217
- DA_PASSWORD=${DA_PASSWORD}
1318
- DA_DOMAIN=${DA_DOMAIN}
1419
- DATABASE_URL=sqlite:////app/data/users.db
20+
- USER_UID=${USER_UID:-1000}
21+
- USER_GID=${USER_GID:-1000}
1522
volumes:
1623
- ./data:/app/data
1724
restart: unless-stopped

0 commit comments

Comments
 (0)