name: pflab-postgres ########## ===== NETWORKS ===== ########## networks: pflab_backend: name: pflab_backend ##### ########## ===== VOLUMES ===== ########## volumes: postgres_data: name: pflab_postgres driver: local ##### ########## ===== SERVICES ===== ########## services: pflab-postgres: image: postgres:17-alpine container_name: pflab-postgres restart: unless-stopped env_file: [.secrets/.env] volumes: - postgres_data:/var/lib/postgresql/data networks: pflab_backend: aliases: - postgres #####