feat(samples): init httpaste.it sample
This commit is contained in:
parent
e8ae877a48
commit
f25e3f766c
4 changed files with 107 additions and 0 deletions
33
samples/httpaste.it/docker-compose.yml
Normal file
33
samples/httpaste.it/docker-compose.yml
Normal 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:
|
||||
Loading…
Add table
Add a link
Reference in a new issue