feat(samples): init httpaste.it sample

This commit is contained in:
Tiara Rodney 2022-04-09 02:27:41 +02:00
parent e8ae877a48
commit f25e3f766c
4 changed files with 107 additions and 0 deletions

View file

@ -0,0 +1,33 @@
version: "3.3"
services:
httpaste:
build:
context: ../..
dockerfile: Dockerfile
environment:
HTTPASTE_CONFIGPATH: /usr/local/httpaste/config.ini
volumes:
-
type: volume
source: system-shared
target: /shared
volume:
nocopy: true
- ./httpaste/config.ini:/usr/local/httpaste/config.ini
command: -s /shared/uwsgi.sock --chmod-socket=666
httpd:
build:
context: ./httpd
dockerfile: Dockerfile
ports:
- "80:80"
volumes:
-
type: volume
source: system-shared
target: /shared
volume:
nocopy: true
- ./httpd/httpd.conf:/usr/local/apache2/conf/httpd.conf
volumes:
system-shared: