auto-start containere, afisare observatii la fisa utilizator
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
services:
|
services:
|
||||||
db:
|
db:
|
||||||
image: postgres:16
|
image: postgres:16
|
||||||
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- postgres_data:/var/lib/postgresql/data
|
- postgres_data:/var/lib/postgresql/data
|
||||||
environment:
|
environment:
|
||||||
@@ -10,6 +11,7 @@ services:
|
|||||||
|
|
||||||
pgadmin:
|
pgadmin:
|
||||||
image: dpage/pgadmin4
|
image: dpage/pgadmin4
|
||||||
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- PGADMIN_DEFAULT_EMAIL=catalin@x3c.ro
|
- PGADMIN_DEFAULT_EMAIL=catalin@x3c.ro
|
||||||
- PGADMIN_DEFAULT_PASSWORD=CFratxlTiJ0TB
|
- PGADMIN_DEFAULT_PASSWORD=CFratxlTiJ0TB
|
||||||
@@ -20,6 +22,7 @@ services:
|
|||||||
|
|
||||||
web:
|
web:
|
||||||
build: .
|
build: .
|
||||||
|
restart: unless-stopped
|
||||||
command: python manage.py runserver 0.0.0.0:8000
|
command: python manage.py runserver 0.0.0.0:8000
|
||||||
volumes:
|
volumes:
|
||||||
- .:/app
|
- .:/app
|
||||||
|
|||||||
@@ -57,6 +57,7 @@
|
|||||||
<span style="font-size: 0.9em;">
|
<span style="font-size: 0.9em;">
|
||||||
<strong>Procesor:</strong> {{ pc.cpu }} | <strong>Placă de bază:</strong> {{ pc.motherboard }} | <strong>RAM:</strong> {{ pc.ram }} | <strong>Stocare:</strong> {{ pc.storage }} {% if pc.optical_drive %}| <strong>Optic:</strong> {{ pc.optical_drive }}{% endif %}<br>
|
<strong>Procesor:</strong> {{ pc.cpu }} | <strong>Placă de bază:</strong> {{ pc.motherboard }} | <strong>RAM:</strong> {{ pc.ram }} | <strong>Stocare:</strong> {{ pc.storage }} {% if pc.optical_drive %}| <strong>Optic:</strong> {{ pc.optical_drive }}{% endif %}<br>
|
||||||
<strong>MAC:</strong> {{ pc.mac_address }} | <strong>Licența S.O.:</strong> {{ pc.os_license }} {% if pc.additional_licenses %}| <strong>Licențe:</strong> {{ pc.additional_licenses }}{% endif %}
|
<strong>MAC:</strong> {{ pc.mac_address }} | <strong>Licența S.O.:</strong> {{ pc.os_license }} {% if pc.additional_licenses %}| <strong>Licențe:</strong> {{ pc.additional_licenses }}{% endif %}
|
||||||
|
{% if pc.observations %}<br><strong>Observații:</strong> {{ pc.observations }}{% endif %}
|
||||||
</span>
|
</span>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -84,6 +85,7 @@
|
|||||||
<strong>{{ peripheral.name }}</strong><br>
|
<strong>{{ peripheral.name }}</strong><br>
|
||||||
<span style="font-size: 0.9em;">
|
<span style="font-size: 0.9em;">
|
||||||
<strong>S/N:</strong> {{ peripheral.serial_number }}
|
<strong>S/N:</strong> {{ peripheral.serial_number }}
|
||||||
|
{% if peripheral.observations %}<br><strong>Observații:</strong> {{ peripheral.observations }}{% endif %}
|
||||||
</span>
|
</span>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
BIN
Binary file not shown.
Reference in New Issue
Block a user