Commit Graph

657 Commits

Author SHA1 Message Date
Quentin McGaw
03e7ca2975
Fix try 1: if block in CI for forked PRs (#41)
* Fix try 1: if block in CI for forked PRs

* CI fix try 2
2021-08-10 15:08:20 +02:00
Bubka
d1927fc41f
Merge pull request #37 from qdm12/docker
Docker
2021-08-09 21:41:43 +02:00
Bubka
599657c8cf
Merge pull request #40 from qdm12/debian-setup
docs: add Debian setup document
2021-08-09 19:17:28 +02:00
Quentin McGaw (desktop)
dd9fcadb69 Change readme reference to debian guide 2021-08-09 10:59:56 -04:00
Quentin McGaw (desktop)
0e7ddcb8cb Only run DockerHub description workflow on base repo 2021-08-04 16:52:58 -04:00
Quentin McGaw (desktop)
0f1af9d1c6 Docs: docker readme final pass
- CPU arch compatibility
- Assumption on path being `/yourpath`
- Fix chown from 33 to 1000
- Warning to backup database beforing updating
- Add tagged images information
- Update implementation details
- Remove TODOs as they are all done
2021-08-04 16:47:21 -04:00
Quentin McGaw (desktop)
364939fded Add trailing new line to docker hub readme workflow 2021-08-04 16:38:35 -04:00
Quentin McGaw (desktop)
e3da58d55d CI: only run publish job if on base repo 2021-08-04 16:35:39 -04:00
Quentin McGaw (desktop)
78ba73f34b Change to Alpine for x2 smaller image 2021-08-04 11:03:28 -04:00
Quentin McGaw (desktop)
ce263e49eb Docs: docker readme: Build the image with build arguments 2021-08-04 10:23:19 -04:00
Quentin McGaw (desktop)
76a5c1a84e Add section to build image for specific release to docker readme 2021-08-04 10:22:26 -04:00
Quentin McGaw (desktop)
474331361e Log out version, commit and build date at start 2021-08-04 10:19:24 -04:00
Quentin McGaw (desktop)
de7a3cae83 UID and GID as build arguments
- Defaults to 1000:1000 instead of www-data
- Update docker readme
2021-08-04 10:16:39 -04:00
Quentin McGaw (desktop)
08af4ef670 Remove ignored directives from php-fpm pool config 2021-08-04 10:10:23 -04:00
Quentin McGaw (desktop)
c24f5b2708 Remove support for mysql 2021-08-04 09:35:55 -04:00
Quentin McGaw (desktop)
25933bd413 Doc: add build status badge for ci.yml 2021-08-03 10:37:42 -04:00
Quentin McGaw (desktop)
82e199921b Add trailing new line in ci.yml 2021-08-03 10:36:08 -04:00
Quentin McGaw (desktop)
6a6e19f6c0 Docs: clean up todos 2021-08-03 09:35:15 -04:00
Quentin McGaw (desktop)
2567906ccc Docs: change database section 2021-08-03 09:35:06 -04:00
Quentin McGaw (desktop)
482e97e2c1 Migrate if installed commit differs from program commit 2021-08-03 09:31:59 -04:00
Quentin McGaw (desktop)
f0eb18653e Add Github Actions workflow for Docker\
- Run tests in verify job
- Publish only if verify pass
- Cross build only for master pushes and releases
- Build for amd64 only for branches
2021-08-03 09:27:10 -04:00
Quentin McGaw (desktop)
46b99fe2ea Add opencontainers labels 2021-08-03 09:24:33 -04:00
Quentin McGaw (desktop)
1f5b476aa2 Docker ignore webpack.mix.js 2021-08-02 23:31:31 -04:00
Quentin McGaw (desktop)
e9a517fde8 Add test stage 2021-08-02 21:25:42 -04:00
Quentin McGaw (desktop)
16225e441d Pin PHP version to 7.3-buster 2021-08-02 21:19:44 -04:00
Quentin McGaw (desktop)
b1d4717aaa Use PHP image to get vendor dependencies (faster) 2021-08-02 21:14:54 -04:00
Quentin McGaw (desktop)
3d6c8d2045 Change /etc/supervisor/supervisord.conf to /etc/supervisord.conf 2021-08-02 19:00:39 -04:00
Quentin McGaw (desktop)
f74b40f253 Add Docker Hub description workflow 2021-08-02 18:55:50 -04:00
Quentin McGaw (desktop)
d6215a055e Change Dockerfile for cross building
- Download and build vendor dependencies once on native platform
- Build final image N times for N platforms with Docker emulation
2021-08-02 18:26:17 -04:00
Quentin McGaw (desktop)
5be6724a69 Download and build vendor deps in separate stage
- Faster rebuilds due to better caching
- Lays the ground for faster cross building
2021-08-02 18:18:18 -04:00
Quentin McGaw (desktop)
8c65d16e6b Remove nginx commented lines 2021-08-02 12:51:26 -04:00
Quentin McGaw (desktop)
02a930da25 Add Debian setup document 2021-08-02 12:36:06 -04:00
Quentin McGaw (desktop)
b4d8a121ef Use absolute paths in supervisor config 2021-08-02 12:35:12 -04:00
Quentin McGaw (desktop)
2a63caafc5 Simplify entrypoint if else blocks 2021-08-02 12:35:01 -04:00
Quentin McGaw (desktop)
1a04a75232 No need for /var/www/.composer dir 2021-08-02 12:34:51 -04:00
Quentin McGaw (desktop)
544a4486a4 Show program versions at start 2021-08-02 11:28:03 -04:00
Quentin McGaw (desktop)
a825246927 Horribly ugly suffix empty space 2021-08-02 11:27:54 -04:00
Quentin McGaw (desktop)
cb1efd552f Use supervisord for Nginx+php-fpm 2021-08-02 11:27:21 -04:00
Quentin McGaw (desktop)
d638b8f951 Verify Nginx config at build time 2021-08-02 10:40:10 -04:00
Quentin McGaw (desktop)
3751e46eed Configure nginx to log to stdout and stderr 2021-08-02 10:37:03 -04:00
Quentin McGaw (laptop)
1f4aac8dc2 Doc: build the image section 2021-08-01 15:19:45 -04:00
Quentin McGaw (laptop)
b7f6388949 Doc: add Update section with docker pull 2021-08-01 15:19:30 -04:00
Quentin McGaw (laptop)
ced2aeb954 Change qmcgaw/2fauth to 2fauth/2fauth 2021-08-01 15:14:34 -04:00
Quentin McGaw (laptop)
2141f2cce0 Doc: add reference to Docker document in main readme 2021-08-01 15:13:41 -04:00
Quentin McGaw (laptop)
fd9a24ef50 Doc: change image size text to badge 2021-08-01 15:10:55 -04:00
Quentin McGaw (laptop)
6d674eb7fd Add dockeri.co dynamic image 2021-08-01 15:10:55 -04:00
Quentin McGaw (laptop)
9d40eab1a4 Update TODOs 2021-08-01 15:10:55 -04:00
Quentin McGaw (laptop)
9310b28714 Fix restart of container 2021-08-01 15:10:55 -04:00
Quentin McGaw (laptop)
92029c4aff Fix permission for entrypoint for build on Linux 2021-08-01 15:10:55 -04:00
Quentin McGaw (laptop)
44d21c7141 Add docker/README.md 2021-08-01 15:10:55 -04:00