services: postgres: container_name: postgres image: docker.io/library/postgres:16-alpine restart: always user: {{ users['postgres'] }}:{{ users['postgres'] }} env_file: .env ports: - {{ ports['postgres'] }}:5432 volumes: - {{ volumes['postgres_datadir'] }}:/var/lib/postgresql/data