.
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,
|
secretSecrets,
|
||||||
),
|
),
|
||||||
wait(15, "wait"),
|
wait(15, "wait"),
|
||||||
build("guacamole-postgresql"),
|
#build("guacamole-postgresql"),
|
||||||
build("ngrok-gitea"),
|
#build("ngrok-gitea"),
|
||||||
build("letsencrypt-nginx"),
|
#build("letsencrypt-nginx"),
|
||||||
build("drone-starlark"),
|
#build("drone-starlark"),
|
||||||
buildDockerFolder(
|
buildDockerFolder(
|
||||||
"Dockerfile.home",
|
"Dockerfile.home",
|
||||||
"nginx:latest",
|
"nginx:latest",
|
||||||
|
|
|
@ -90,7 +90,7 @@ services:
|
||||||
environment:
|
environment:
|
||||||
- USER_UID=1000
|
- USER_UID=1000
|
||||||
- USER_GID=1000
|
- USER_GID=1000
|
||||||
- ROOT_URL=https://${GIT_DOMAIN}/
|
- ROOT_URL=https://${GIT_DOMAIN}/git
|
||||||
- SSH_DOMAIN=${GIT_DOMAIN}
|
- SSH_DOMAIN=${GIT_DOMAIN}
|
||||||
volumes:
|
volumes:
|
||||||
- gitea-app:/data
|
- gitea-app:/data
|
||||||
|
@ -313,7 +313,7 @@ services:
|
||||||
deploy:
|
deploy:
|
||||||
placement:
|
placement:
|
||||||
constraints: [node.labels.com.sigyl.git-stack == yes]
|
constraints: [node.labels.com.sigyl.git-stack == yes]
|
||||||
replicas: 0 # will scale after mongo initated
|
replicas: 1 # will scale after mongo initated
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: any
|
condition: any
|
||||||
image: rocketchat/rocket.chat:latest
|
image: rocketchat/rocket.chat:latest
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
CREATE USER guacamole_user WITH PASSWORD :'password';
|
CREATE USER :'user' WITH PASSWORD :'password';
|
||||||
GRANT SELECT,INSERT,UPDATE,DELETE ON ALL TABLES IN SCHEMA public TO guacamole_user;
|
GRANT SELECT,INSERT,UPDATE,DELETE ON ALL TABLES IN SCHEMA public TO :'user';
|
||||||
GRANT SELECT,USAGE ON ALL SEQUENCES IN SCHEMA public TO guacamole_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 /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
|
initial admin is guacadmin:guacadmin
|
||||||
|
|
Reference in New Issue