-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhosts.ini
111 lines (92 loc) · 2.84 KB
/
hosts.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
# Ansible inventory for deploy the Create Go App project.
# Author: Vic Shóstak <[email protected]> (https://github.com/koddr)
# For more information, please visit https://github.com/create-go-app/cli
[cgapp_project]
127.0.0.1 # CHANGE THIS TO YOUR REMOTE SERVER IP!
[cgapp_project:vars]
#
# Ansible default variables to start playbook:
#
# Set remote sudo username
ansible_user=root
# Ask become password for remote sudo user
ansible_become=yes
# Set connection type to remote server (usually, 'ssh')
ansible_connection=ssh
# Set Python 3 default path
ansible_python_interpreter=/usr/bin/python3
#
# Remote server configuration:
#
# Set directory on your remote server for store project files
server_dir=/var/www/cgapp
# Set user (owner of files/folders) name
server_user=root
# Set group name
server_group=docker
#
# Project configuration:
#
# Set your project domain
project_domain=example.com
#
# Docker configuration:
#
# Set Docker network name
docker_network=cgapp_network
#
# Backend configuration:
#
# Set backend port number,
# MUST BE MATCH to the port that is listed in your `./backend/.env` file!
backend_port=5000
#
# PostgreSQL configuration (backend DB):
#
# Set PostgreSQL container name
# MUST BE MATCH to the port that is listed in your `./backend/.env` file!
postgres_container_name=cgapp-postgres
# Set PostgreSQL version (for example, 13.2)
postgres_version=latest
# Set PostgreSQL port number,
# MUST BE MATCH to the port that is listed in your `./backend/.env` file!
postgres_port=5432
# Set PostgreSQL user name,
# MUST BE MATCH to the user name that is listed in your `./backend/.env` file!
postgres_user=postgres
# Set PostgreSQL password,
# MUST BE MATCH to the password that is listed in your `./backend/.env` file!
postgres_password=password
# Set PostgreSQL DB name,
# MUST BE MATCH to the DB name that is listed in your `./backend/.env` file!
postgres_db=postgres
# Set PostgreSQL SSL mode state ('enabled' or 'disabled'),
# MUST BE MATCH to the SSL mode state that is listed in your `./backend/.env` file!
postgres_ssl_mode=disable
#
# Go-Migrate configuration (DB migrations):
#
# Set migration number,
# if you WANT to migrate all of your migrations, just leave it blank,
# for only initial migration set it to '1'
migrate_number=1
#
# Redis configuration (backend cache):
#
# Set Redis container name
# MUST BE MATCH to the port that is listed in your `./backend/.env` file!
redis_container_name=cgapp-redis
# Set Redis version (for example, 6.2)
redis_version=latest
# Set Redis port number,
# MUST BE MATCH to the port that is listed in your `./backend/.env` file!
redis_port=6379
#
# Nginx configuration:
#
# Set Nginx version (for example, 1.20-alpine)
nginx_version=alpine
# Set redirect from HTTP to HTTPS for default server
nginx_use_only_https=yes
# Set redirect from WWW to non-WWW domain for default server
nginx_redirect_to_non_www=yes