Changeset View
Changeset View
Standalone View
Standalone View
data/hostname/deposit.internal.staging.swh.network.yaml
networks: | networks: | ||||
eth0: | eth0: | ||||
address: 192.168.130.31 | address: 192.168.130.31 | ||||
netmask: 255.255.255.0 | netmask: 255.255.255.0 | ||||
gateway: 192.168.130.1 | gateway: 192.168.130.1 | ||||
## db setup | |||||
postgres::server::port: 5433 | |||||
postgres::server::listen_addresses: | |||||
- localhost | |||||
- 192.168.130.31 | |||||
postgres::server::network_access: | |||||
- 192.168.100.0/24 # Monitoring | |||||
- 192.168.130.0/24 # Staging services | |||||
# Dbs to create | |||||
swh::dbs: | |||||
deposit: | |||||
name: swh-deposit | |||||
user: swh-deposit | |||||
pgbouncer::auth_hba_file: /etc/postgresql/11/main/pg_hba.conf | |||||
pgbouncer::listen_addr: 192.168.130.31 | |||||
pgbouncer::databases: | |||||
- source_db: swh-deposit | |||||
host: localhost | |||||
auth_user: postgres | |||||
port: 5433 | |||||
alias: staging-swh-deposit | |||||
## frontend | ## frontend | ||||
hitch::frontend: "[*]:443" | hitch::frontend: "[*]:443" | ||||
hitch::proxy_support: true | hitch::proxy_support: true | ||||
varnish::http_port: 80 | varnish::http_port: 80 | ||||
apache::http_port: 9080 | apache::http_port: 9080 | ||||
# Disable default vhost on port 80 | # Disable default vhost on port 80 | ||||
apache::default_vhost: false | apache::default_vhost: false | ||||
## deposit | ## deposit | ||||
swh::deploy::deposit::media_root_directory: /srv/softwareheritage/deposit | swh::deploy::deposit::media_root_directory: /srv/softwareheritage/deposit |