Skip to content

Commit

Permalink
Add network support
Browse files Browse the repository at this point in the history
  • Loading branch information
mickenordin committed Oct 8, 2024
1 parent c55791b commit 9a0a5d7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion manifests/invent/receiver.pp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
String $vhost = 'invent.sunet.se'
){
$admin_password = lookup('invent_admin_password', undef, undef, undef)
$endpoints = ['hosts', 'images']
$endpoints = ['hosts', 'images', 'network']
$nginx_dirs = [ 'acme', 'certs','conf','dhparam','html','vhost' ]
$ni_host_key = lookup ('ni_host_key')
$ni_host_ip = lookup ('ni_host_ip')
Expand Down
8 changes: 6 additions & 2 deletions templates/invent/receiver/docker-compose.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,12 @@ services:
stdin_open: true
restart: always
environment:
- INVENT_ADMIN_PASSWORD=<%= @admin_password %>
- INVENT_DB_DIR=/app/db
- INVENT_HOST_DIR=/app/hosts
- INVENT_IMAGE_DIR=/app/images
- INVENT_NETWORK_DIR=/app/network
- LETSENCRYPT_HOST=<%= @vhost %>
- VIRTUAL_HOST=<%= @vhost %>
- VIRTUAL_PATH=/
- VIRTUAL_PORT=8000
- LETSENCRYPT_HOST=<%= @vhost %>
- INVENT_ADMIN_PASSWORD=<%= @admin_password %>

0 comments on commit 9a0a5d7

Please sign in to comment.