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
Quentin McGaw (laptop)
165668f1e5
Symlink storage
2021-08-01 15:10:55 -04:00
Quentin McGaw (laptop)
404345add1
Change .sqlite to database.sqlite
2021-08-01 15:10:55 -04:00
Quentin McGaw (laptop)
d20a326d44
Add 'do not remove me' to installed file
2021-08-01 15:10:55 -04:00
Quentin McGaw (laptop)
c89aa757be
Add docker-compose.yml
2021-08-01 15:10:55 -04:00
Quentin McGaw (desktop)
f5f16f3ee7
Rework Dockerfile:
...
- Fix: install php7.3-gd extension
- Do not install composer 1 and only 2
- Install php7.3-mbstring extension
- Group apt installs together for better caching
2021-08-01 15:10:55 -04:00
Quentin McGaw (desktop)
1e1244a52f
Remove Nginx duplicate setup block
2021-08-01 15:10:55 -04:00
Quentin McGaw (desktop)
22d7013406
Fix ownership for php-fpm logs
2021-08-01 15:10:55 -04:00
Quentin McGaw (desktop)
dcc3c2310d
Minor changes
2021-08-01 15:10:55 -04:00
Quentin McGaw (desktop)
94222e505d
Add log about Nginx listening
2021-08-01 15:10:55 -04:00
Quentin McGaw (desktop)
bfc7ca9bbe
Entrypoint cleanup routine
2021-08-01 15:10:55 -04:00