Skip to content

Commit eebcca1

Browse files
Added new docker compose example
1 parent cc8b4ab commit eebcca1

File tree

1 file changed

+11
-24
lines changed

1 file changed

+11
-24
lines changed

README.md

Lines changed: 11 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,8 @@ docker run --detach \
162162

163163
<br>
164164

165-
<!-- #### Docker Compose
165+
#### Docker Compose
166+
<ins>Use HTTPS for your reverse proxy to avoid issues</ins><br>
166167
Example config.
167168

168169
<pre>
@@ -175,37 +176,23 @@ services:
175176
image: 'linkstackorg/linkstack:latest'
176177
environment:
177178
TZ: 'Europe/Berlin'
178-
SERVER_ADMIN: 'youremail@gmail.com'
179-
HTTP_SERVER_NAME: 'yourdomain.com'
180-
HTTPS_SERVER_NAME: 'yourdomain.com'
179+
SERVER_ADMIN: 'admin@example.com'
180+
HTTP_SERVER_NAME: 'example.com'
181+
HTTPS_SERVER_NAME: 'example.com'
181182
LOG_LEVEL: 'info'
182183
PHP_MEMORY_LIMIT: '256M'
183184
UPLOAD_MAX_FILESIZE: '8M'
184185
volumes:
185-
- '/opt/docker/configs/littlelink/config/.env:/htdocs/.env:rw'
186-
- '/opt/docker/configs/littlelink/config/advanced-config.php:/htdocs/config/advanced-config.php:rw'
187-
- '/opt/docker/configs/littlelink/config/img:/htdocs/img:rw'
186+
- 'linkstack_data:/htdocs'
188187
ports:
189-
- '8088:80'
190-
- '8090:443'
188+
- '8190:443'
191189
restart: unless-stopped
192-
networks:
193-
- 'mariadb'
194-
- 'misc'
195-
- 'redis'
196-
networks:
197-
misc:
198-
external: true
199-
name: 'misc'
200-
mariadb:
201-
external: true
202-
name: 'db-mariadb'
203-
redis:
204-
external: true
205-
name: 'db-redis'
190+
191+
volumes:
192+
linkstack_data:
206193
</pre>
207194

208-
<br> -->
195+
<br>
209196

210197
### Optional configuration:
211198
Optionally, you can change the app name in your ".env" file in the root directory of your LinkStack installation. At the moment this is set to

0 commit comments

Comments
 (0)