.
continuous-integration/drone/push Build is running
Details
continuous-integration/drone/push Build is running
Details
This commit is contained in:
parent
0f89d223c2
commit
1d2ba74afc
|
@ -29,10 +29,10 @@ def main(ctx):
|
|||
secretSecrets,
|
||||
),
|
||||
wait(15, "wait"),
|
||||
build("guacamole-postgresql"),
|
||||
build("ngrok-gitea"),
|
||||
build("letsencrypt-nginx"),
|
||||
build("drone-starlark"),
|
||||
#build("guacamole-postgresql"),
|
||||
#build("ngrok-gitea"),
|
||||
#build("letsencrypt-nginx"),
|
||||
#build("drone-starlark"),
|
||||
buildDockerFolder(
|
||||
"Dockerfile.home",
|
||||
"nginx:latest",
|
||||
|
|
|
@ -90,7 +90,7 @@ services:
|
|||
environment:
|
||||
- USER_UID=1000
|
||||
- USER_GID=1000
|
||||
- ROOT_URL=https://${GIT_DOMAIN}/
|
||||
- ROOT_URL=https://${GIT_DOMAIN}/git
|
||||
- SSH_DOMAIN=${GIT_DOMAIN}
|
||||
volumes:
|
||||
- gitea-app:/data
|
||||
|
@ -313,7 +313,7 @@ services:
|
|||
deploy:
|
||||
placement:
|
||||
constraints: [node.labels.com.sigyl.git-stack == yes]
|
||||
replicas: 0 # will scale after mongo initated
|
||||
replicas: 1 # will scale after mongo initated
|
||||
restart_policy:
|
||||
condition: any
|
||||
image: rocketchat/rocket.chat:latest
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
CREATE USER guacamole_user WITH PASSWORD :'password';
|
||||
GRANT SELECT,INSERT,UPDATE,DELETE ON ALL TABLES IN SCHEMA public TO guacamole_user;
|
||||
GRANT SELECT,USAGE ON ALL SEQUENCES IN SCHEMA public TO guacamole_user;
|
||||
CREATE USER :'user' WITH PASSWORD :'password';
|
||||
GRANT SELECT,INSERT,UPDATE,DELETE ON ALL TABLES IN SCHEMA public TO :'user';
|
||||
GRANT SELECT,USAGE ON ALL SEQUENCES IN SCHEMA public TO :'user';
|
|
@ -182,7 +182,7 @@ execute initdb.sql
|
|||
|
||||
```
|
||||
docker exec -it [id] psql -U postgres -d guacamole_db -f /initdb.sql
|
||||
docker exec -it [id] psql -U postgres -d guacamole_db -f /init-user.sql -v password='somepassword'
|
||||
docker exec -it [id] psql -U postgres -d guacamole_db -f /init-user.sql -v password='somepassword' -v user='guacamole_user'
|
||||
```
|
||||
|
||||
initial admin is guacadmin:guacadmin
|
||||
|
|
Reference in New Issue