Set domain related values explicitly
This commit is contained in:
parent
2a21752463
commit
b7a41ce82f
2 changed files with 7 additions and 0 deletions
|
|
@ -34,6 +34,8 @@
|
|||
chdir: '{{ app_dir }}'
|
||||
|
||||
vars:
|
||||
domain: 'forgejo.fudiggity.nl'
|
||||
|
||||
app_dir: '/srv/docker/forgejo'
|
||||
data_dir: '/home/sonny/vm/forgejo/data'
|
||||
postgres_dir: '/home/sonny/vm/forgejo/postgres'
|
||||
|
|
@ -42,6 +44,8 @@
|
|||
|
||||
postgres_user: forgejo
|
||||
postgres_name: forgejo
|
||||
|
||||
# TODO: write to docker secret
|
||||
postgres_password: !vault |
|
||||
$ANSIBLE_VAULT;1.1;AES256
|
||||
38616139663030376462383464343866313865653837386335646331313265373530653534663866
|
||||
|
|
|
|||
|
|
@ -11,6 +11,9 @@ services:
|
|||
environment:
|
||||
- USER_UID=1000
|
||||
- USER_GID=1000
|
||||
- FORGEJO__server__DOMAIN={{ domain }}
|
||||
- FORGEJO__server__ROOT_URL=https://{{ domain }}/
|
||||
- FORGEJO__server__SSH_DOMAIN={{ domain }}
|
||||
- FORGEJO__database__DB_TYPE=postgres
|
||||
- FORGEJO__database__HOST=db:5432
|
||||
- FORGEJO__database__NAME={{ postgres_name }}
|
||||
|
|
|
|||
Reference in a new issue