refactor(samples/httpaste.it): finalize initial sample
- add tor daemon - clean directory structure
This commit is contained in:
parent
d558a65609
commit
60a01ea511
7 changed files with 49 additions and 2 deletions
|
|
@ -4,6 +4,7 @@ services:
|
|||
build:
|
||||
context: ../..
|
||||
dockerfile: Dockerfile
|
||||
target: uwsgi
|
||||
environment:
|
||||
HTTPASTE_CONFIGPATH: /usr/local/httpaste/config.ini
|
||||
volumes:
|
||||
|
|
@ -13,7 +14,7 @@ services:
|
|||
target: /shared
|
||||
volume:
|
||||
nocopy: true
|
||||
- ./httpaste/config.ini:/usr/local/httpaste/config.ini
|
||||
- ./httpaste/usr/local/httpaste/config.ini:/usr/local/httpaste/config.ini
|
||||
command: -s /shared/uwsgi.sock --chmod-socket=666
|
||||
httpd:
|
||||
build:
|
||||
|
|
@ -28,6 +29,12 @@ services:
|
|||
target: /shared
|
||||
volume:
|
||||
nocopy: true
|
||||
- ./httpd/httpd.conf:/usr/local/apache2/conf/httpd.conf
|
||||
- ./httpd/usr/local/apache2/conf/httpd.conf:/usr/local/apache2/conf/httpd.conf
|
||||
tor:
|
||||
build:
|
||||
context: ./tor
|
||||
dockerfile: Dockerfile
|
||||
volumes:
|
||||
- ./tor/etc/tor/torrc:/etc/tor/torrc
|
||||
volumes:
|
||||
system-shared:
|
||||
Loading…
Add table
Add a link
Reference in a new issue