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