Skip to content

Commit

Permalink
add docker-compose file for www.hacklab.to
Browse files Browse the repository at this point in the history
  • Loading branch information
lillian committed Aug 19, 2024
1 parent 6e28bbe commit 356bb09
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
6 changes: 6 additions & 0 deletions hosts/www.hacklab.to/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
WORDPRESS_COMMIT=089b8a678d367e26e1d6a34fe6bd3fb6684dea3f
MEDIAWIKI_COMMIT=6012f0f7c5a637f6c01d1470809e68379fc6787c
MEMBERS_WEB_COMMIT=9209141a945a33466cc2eb0495381be01b5ee7fd
MEMBERS_POSTGRES_URL=postgresql://members:[email protected]:5432/members?sslmode=disable
MEMBERS_REDIS_URL=redis://:[email protected]:6379
LDAP_SELFSERVICE_PASSWORD=redacted
32 changes: 32 additions & 0 deletions hosts/www.hacklab.to/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
services:
wordpress:
image: ghcr.io/hacklabto/wordpress:${WORDPRESS_COMMIT}
ports: ["[::1]:18883:8080"]
volumes:
- "/opt/wordpress/wp-config.php:/app/wordpress/wp-config.php"
- "/opt/wordpress/uploads/:/app/wordpress/wp-content/uploads/:rw"

knowledge:
image: ghcr.io/hacklabto/mediawiki:${MEDIAWIKI_COMMIT}
ports: ["[::1]:18882:8080"]
volumes:
- "/opt/knowledge/LocalSettings.php:/app/mediawiki/LocalSettings.php"
- "/opt/knowledge/images:/app/mediawiki/images"

wiki:
image: ghcr.io/hacklabto/mediawiki:${MEDIAWIKI_COMMIT}
ports: ["[::1]:18881:8080"]
volumes:
- "/opt/wiki/LocalSettings.php:/app/mediawiki/LocalSettings.php"
- "/opt/wiki/images:/app/mediawiki/images"

members-platform-web:
image: ghcr.io/hacklabto/members-platform:${MEMBERS_WEB_COMMIT}
ports: ["[::1]:18884:18884"]
entrypoint: "/usr/local/bin/hl-web"
environment:
- "LDAP_URL=192.168.133.90:636"
- "SMTP_URL=192.168.155.8:587"
- "DATABASE_URL=${MEMBERS_POSTGRES_URL}"
- "REDIS_URL=${MEMBERS_REDIS_URL}"
- "LDAP_SELFSERVICE_PASSWORD=${LDAP_SELFSERVICE_PASSWORD}"

0 comments on commit 356bb09

Please sign in to comment.