Skip to content

Commit 356bb09

Browse files
author
lillian
committed
add docker-compose file for www.hacklab.to
1 parent 6e28bbe commit 356bb09

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed

hosts/www.hacklab.to/.env.example

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
WORDPRESS_COMMIT=089b8a678d367e26e1d6a34fe6bd3fb6684dea3f
2+
MEDIAWIKI_COMMIT=6012f0f7c5a637f6c01d1470809e68379fc6787c
3+
MEMBERS_WEB_COMMIT=9209141a945a33466cc2eb0495381be01b5ee7fd
4+
MEMBERS_POSTGRES_URL=postgresql://members:[email protected]:5432/members?sslmode=disable
5+
MEMBERS_REDIS_URL=redis://:[email protected]:6379
6+
LDAP_SELFSERVICE_PASSWORD=redacted
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
services:
2+
wordpress:
3+
image: ghcr.io/hacklabto/wordpress:${WORDPRESS_COMMIT}
4+
ports: ["[::1]:18883:8080"]
5+
volumes:
6+
- "/opt/wordpress/wp-config.php:/app/wordpress/wp-config.php"
7+
- "/opt/wordpress/uploads/:/app/wordpress/wp-content/uploads/:rw"
8+
9+
knowledge:
10+
image: ghcr.io/hacklabto/mediawiki:${MEDIAWIKI_COMMIT}
11+
ports: ["[::1]:18882:8080"]
12+
volumes:
13+
- "/opt/knowledge/LocalSettings.php:/app/mediawiki/LocalSettings.php"
14+
- "/opt/knowledge/images:/app/mediawiki/images"
15+
16+
wiki:
17+
image: ghcr.io/hacklabto/mediawiki:${MEDIAWIKI_COMMIT}
18+
ports: ["[::1]:18881:8080"]
19+
volumes:
20+
- "/opt/wiki/LocalSettings.php:/app/mediawiki/LocalSettings.php"
21+
- "/opt/wiki/images:/app/mediawiki/images"
22+
23+
members-platform-web:
24+
image: ghcr.io/hacklabto/members-platform:${MEMBERS_WEB_COMMIT}
25+
ports: ["[::1]:18884:18884"]
26+
entrypoint: "/usr/local/bin/hl-web"
27+
environment:
28+
- "LDAP_URL=192.168.133.90:636"
29+
- "SMTP_URL=192.168.155.8:587"
30+
- "DATABASE_URL=${MEMBERS_POSTGRES_URL}"
31+
- "REDIS_URL=${MEMBERS_REDIS_URL}"
32+
- "LDAP_SELFSERVICE_PASSWORD=${LDAP_SELFSERVICE_PASSWORD}"

0 commit comments

Comments
 (0)