File tree Expand file tree Collapse file tree 2 files changed +45
-9
lines changed Expand file tree Collapse file tree 2 files changed +45
-9
lines changed Original file line number Diff line number Diff line change @@ -9,5 +9,31 @@ POSTGRES_PASSWORD=
99
1010NEXTCLOUD_ADMIN_USER =
1111NEXTCLOUD_ADMIN_PASSWORD =
12-
1312NEXTCLOUD_TRUSTED_DOMAINS =
13+
14+
15+ OVERWRITECLIURL =
16+ OVERWRITEPROTOCOL = https
17+ OVERWRITEHOST =
18+ TRUSTED_PROXIES = " 172.16.0.0/12 192.168.0.0/16 10.0.0.0/8 fc00::/7 fe80::/10 2001:db8::/32"
19+
20+
21+
22+
23+
24+ TZ = ${ NEXTCLOUD_TIMEZONE }
25+ POSTGRES_HOST : postgres-nextcloud
26+ DB_PORT : 5432
27+ POSTGRES_DB : ${ NEXTCLOUD_DB_NAME }
28+ POSTGRES_USER : ${ NEXTCLOUD_DB_USER }
29+ POSTGRES_PASSWORD : ${ NEXTCLOUD_DB_PASSWORD }
30+ REDIS_HOST : redis-nextcloud
31+ REDIS_HOST_PORT : 6379
32+ REDIS_HOST_PASSWORD : ${ NEXTCLOUD_REDIS_PASSWORD }
33+ NEXTCLOUD_ADMIN_USER : ${ NEXTCLOUD_ADMIN_USERNAME }
34+ NEXTCLOUD_ADMIN_PASSWORD : ${ NEXTCLOUD_ADMIN_PASSWORD }
35+ NEXTCLOUD_TRUSTED_DOMAINS : ${ NEXTCLOUD_HOSTNAME }
36+ OVERWRITECLIURL : ${ NEXTCLOUD_URL }
37+ OVERWRITEPROTOCOL : https
38+ OVERWRITEHOST : ${ NEXTCLOUD_HOSTNAME }
39+ TRUSTED_PROXIES : 172.16.0.0/12 192.168.0.0/16 10.0.0.0/8 fc00::/7 fe80::/10 2001:db8::/32
Original file line number Diff line number Diff line change 11name : Docker image CI for GHCR
22
33on :
4- push
4+ push :
5+ branches :
6+ - add-actions
57
68jobs :
7- build_and_publish :
9+ build :
810 runs-on : ubuntu-latest
11+
912 steps :
10- - uses : actions/checkout@v3
11- - name : Build and push the image
12- run : |
13- docker login --username henmohr --password ${{ secrets.GH_PAT }} ghcr.io
14- docker build . --tag ghcr.io/librecodecoop/nextcloud-images:30
15- docker push ghcr.io/librecodecoop/nextcloud-images:30
13+ - name : Checkout code
14+ uses : actions/checkout@v2
15+
16+ - name : Log in to GitHub Container Registry
17+ run : echo ${{ secrets.GH_PAT }} | docker login ghcr.io -u ${{ github.actor }} --password-stdin
18+
19+ - name : Build Docker image
20+ run : docker build -t ghcr.io/librecodecoop/nextcloud-images:30 .
21+
22+ - name : Push Docker image
23+ run : docker push ghcr.io/librecodecoop/nextcloud-images:30
24+
25+
You can’t perform that action at this time.
0 commit comments