|
|
@@ -0,0 +1,48 @@
|
|
|
+services:
|
|
|
+ start:
|
|
|
+ image: start
|
|
|
+ build:
|
|
|
+ context: python
|
|
|
+ dockerfile: start
|
|
|
+
|
|
|
+ python:
|
|
|
+ image: python
|
|
|
+ build:
|
|
|
+ context: python
|
|
|
+ dockerfile: python
|
|
|
+ depends_on:
|
|
|
+ - start
|
|
|
+
|
|
|
+ # spacchettatore di pdf per l'amministrazione
|
|
|
+ bpconverter:
|
|
|
+ image: django.bcp
|
|
|
+ build:
|
|
|
+ context: python
|
|
|
+ dockerfile: django.bpc
|
|
|
+ depends_on:
|
|
|
+ - python
|
|
|
+ ports:
|
|
|
+ - 8220:8220
|
|
|
+ volumes:
|
|
|
+ - /home/data/bpconverter:/home/bpconverter
|
|
|
+ environment:
|
|
|
+ - PORT=8220
|
|
|
+ - V=5
|
|
|
+ entrypoint: ['/bin/bash','/root/run.sh']
|
|
|
+ restart: unless-stopped
|
|
|
+
|
|
|
+ # bpconverter: supporto per la fornitura di file e immagini
|
|
|
+ bpconverter.nginx:
|
|
|
+ image: nginx.bpc
|
|
|
+ build:
|
|
|
+ context: nginx.bpc
|
|
|
+ dockerfile: nginx.bpc
|
|
|
+ ports:
|
|
|
+ - 8225:80
|
|
|
+ volumes:
|
|
|
+ - /home/data/bpconverter.nginx:/etc/nginx
|
|
|
+ - /home/data/bpconverter:/home/bpconverter
|
|
|
+ entrypoint: ['/bin/bash','/root/run.sh']
|
|
|
+ restart: unless-stopped
|
|
|
+ depends_on:
|
|
|
+ - start
|