mirror of
https://github.com/oupala/apaxy.git
synced 2025-09-03 00:13:42 +02:00
The new Dockerfile is based on a smaller image (httpd instead of php) and is more secure due to a smaller attack surface. It also comes with a docker-compose configuration and offers some options. The Dockerfile is using a multi-stage build, and it using the brand new apaxy install script. It is also running as non root so the image can run in a secured container cluster.
14 lines
222 B
YAML
14 lines
222 B
YAML
version: '3'
|
|
services:
|
|
apaxy:
|
|
image: apaxy
|
|
build:
|
|
context: .
|
|
args:
|
|
apaxyPath: ''
|
|
ports:
|
|
- '80:8080'
|
|
volumes:
|
|
- './share/:/usr/local/apache2/htdocs/share/'
|
|
image: apaxy
|