Skip to content

Commit 7e7ad50

Browse files
Added Docker Compose section
#18 @STaRDoGG please feel free to correct, or anything you'd like to improve on.
1 parent 8d75802 commit 7e7ad50

1 file changed

Lines changed: 42 additions & 0 deletions

File tree

README.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,48 @@ docker run --detach \
153153

154154
<br>
155155

156+
#### Docker Compose
157+
158+
<pre>
159+
version: "3.8"
160+
161+
services:
162+
163+
littlelink-custom:
164+
hostname: 'littlelink-custom'
165+
image: 'julianprieber/littlelink-custom:latest'
166+
environment:
167+
TZ: 'Europe/Berlin'
168+
SERVER_ADMIN: youremail@gmail.com'
169+
HTTP_SERVER_NAME: 'yourdomain.com''
170+
HTTPS_SERVER_NAME: 'yourdomain.com'
171+
LOG_LEVEL: 'info'
172+
PHP_MEMORY_LIMIT: '256M'
173+
UPLOAD_MAX_FILESIZE: '8M'
174+
volumes:
175+
- '/opt/docker/configs/littlelink/config/.env:/htdocs/.env:rw'
176+
- '/opt/docker/configs/littlelink/config/advanced-config.php:/htdocs/config/advanced-config.php:rw'
177+
- '/opt/docker/configs/littlelink/config/img:/htdocs/img:rw'
178+
ports:
179+
- '8088:80'
180+
- '8090:443'
181+
networks:
182+
- 'mariadb'
183+
- 'misc'
184+
- 'redis'
185+
networks:
186+
misc:
187+
external: true
188+
name: 'misc'
189+
mariadb:
190+
external: true
191+
name: 'db-mariadb'
192+
redis:
193+
external: true
194+
name: 'db-redis'
195+
</pre>
196+
197+
<br>
156198

157199
#### You can now log in to the Admin Panel, on your defined ports, with the credentials:
158200
- **email:** `admin@admin.com`

0 commit comments

Comments
 (0)