services: postgres_db_mem_rep: build: ./ container_name: postgress_db_mem_replica #restart: unless-stopped env_file: .env tmpfs: - /var/lib/postgresql/data ports: - 5442:5432 deploy: resources: limits: cpus: "4.0" memory: 16G # networks: # - postgres_db_default #networks: # postgres_db_default: # external: true